if (line == header()) {
while (ifs) {
getline(ifs, line);
- if (!line.empty() && !line[0] == '#') {
+ if (!line.empty() && !(line[0] == '#')) {
docstring const word = from_utf8(line);
insert(word);
}
LYXERR(Debug::FILES, "count of saved items: " << words_.size());
}
+
bool PersonalWordList::equalwords(docstring const & w1, docstring const & w2) const
{
return w1 == w2;