X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAspellChecker.cpp;h=a5c54d8c74b6ae727e10526d29ef15f3d2cfddea;hb=9e645a5cfc9d6c3e66d627002e68384c92c4d0b8;hp=d7392d2a5cb61aa6bc52d16d0e75418ee7f75cee;hpb=07396ab2445720b21dc8195816eb1aee1f2ae3a7;p=lyx.git diff --git a/src/AspellChecker.cpp b/src/AspellChecker.cpp index d7392d2a5c..a5c54d8c74 100644 --- a/src/AspellChecker.cpp +++ b/src/AspellChecker.cpp @@ -445,7 +445,7 @@ SpellChecker::Result AspellChecker::check(WordLangTuple const & word, if (it->lang()->code() != word.lang()->code()) continue; if (it->word() == word.word()) - return LEARNED_WORD; + return DOCUMENT_LEARNED_WORD; } SpellChecker::Result rc = d->check(m, word); return (rc == WORD_OK && d->learned(word)) ? LEARNED_WORD : rc;