diff options
author | <urmaslt@svn.abisource.com> | 2011-03-07 21:20:15 +0000 |
---|---|---|
committer | <urmaslt@svn.abisource.com> | 2011-03-07 21:20:15 +0000 |
commit | 71fe6e42189bbc47a5366bb180cdd68209ef6318 (patch) | |
tree | e001a6422c111f695c2298888df35d55482121a7 | |
parent | f99d4e60fd48fdfe76ccdec5c432d3e15467cd7b (diff) | |
download | enchant-71fe6e42189bbc47a5366bb180cdd68209ef6318.tar.gz |
Fixed words of ambiguous composition to be considered incorrect
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@29647 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | src/ispell/ispell_checker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ispell/ispell_checker.cpp b/src/ispell/ispell_checker.cpp index c7da3ec..62c967d 100644 --- a/src/ispell/ispell_checker.cpp +++ b/src/ispell/ispell_checker.cpp @@ -179,8 +179,8 @@ ISpellChecker::checkWord(const char * const utf8Word, size_t length) if (!strtoichar(iWord, szWord, sizeof(iWord), 0)) { - if (good(iWord, 0, 0, 1, 0) == 1 || - compoundgood(iWord, 1) == 1) + if (good(iWord, 0, 0, 1, 0) >= 1 || + compoundgood(iWord, 1)) { retVal = true; } |