fix typo in synonyms multigroups update

This commit is contained in:
Jean-Francois Dockes 2015-08-25 07:36:48 +02:00
parent e7a669b668
commit d63b16de93
2 changed files with 4 additions and 3 deletions

View File

@ -300,10 +300,11 @@ bool Db::termMatch(int typ_sens, const string &lang, const string &_term,
for (vector<string>::const_iterator it1 = sg.begin(); for (vector<string>::const_iterator it1 = sg.begin();
it1 != sg.end(); it1++) { it1 != sg.end(); it1++) {
if (it1->find_first_of(" ") != string::npos) { if (it1->find_first_of(" ") != string::npos) {
if (multiwords) if (multiwords) {
multiwords->push_back(*it1); multiwords->push_back(*it1);
}
} else { } else {
exp1.push_back(*it); exp1.push_back(*it1);
} }
} }
} }