diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2018-03-06 20:24:07 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2018-03-07 12:54:58 +0300 |
commit | bebafc42ab6199e86d4c2c901fac8d091bfffef0 (patch) | |
tree | f3961879845e89688c6628dccf1a3c9cd3ebb9b3 /libs/hunspell/src | |
parent | 7e9fef8a6ff35c63f9217fcc618d77f660e45245 (diff) |
some fixes
Diffstat (limited to 'libs/hunspell/src')
-rw-r--r-- | libs/hunspell/src/affixmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hunspell/src/affixmgr.cxx b/libs/hunspell/src/affixmgr.cxx index ffce7bb1bd..90c7eaff33 100644 --- a/libs/hunspell/src/affixmgr.cxx +++ b/libs/hunspell/src/affixmgr.cxx @@ -1854,7 +1854,7 @@ struct hentry* AffixMgr::compound_check(const std::string& word, } // check FORCEUCASE - if (rv && forceucase && (rv) && + if (rv && forceucase && (TESTAFF(rv->astr, forceucase, rv->alen)) && !(info && *info & SPELL_ORIGCAP)) rv = NULL; @@ -1962,7 +1962,7 @@ struct hentry* AffixMgr::compound_check(const std::string& word, } // check FORCEUCASE - if (rv && forceucase && (rv) && + if (rv && forceucase && (TESTAFF(rv->astr, forceucase, rv->alen)) && !(info && *info & SPELL_ORIGCAP)) rv = NULL; |