summaryrefslogtreecommitdiff
path: root/libs/hunspell/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2018-03-06 20:24:07 +0300
committerKirill Volinsky <mataes2007@gmail.com>2018-03-07 12:54:58 +0300
commitbebafc42ab6199e86d4c2c901fac8d091bfffef0 (patch)
treef3961879845e89688c6628dccf1a3c9cd3ebb9b3 /libs/hunspell/src
parent7e9fef8a6ff35c63f9217fcc618d77f660e45245 (diff)
some fixes
Diffstat (limited to 'libs/hunspell/src')
-rw-r--r--libs/hunspell/src/affixmgr.cxx4
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;