summaryrefslogtreecommitdiff
path: root/libs/hunspell/src/affixmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hunspell/src/affixmgr.cxx')
-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;