X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPersonalWordList.cpp;h=75dcda6aa70d8d2a786520c4fbc090e17666e23e;hb=77185fe83d28a0a1dc48980a9db3c34110e02e31;hp=a0a8726eb61f5fe26d18d60e8cc4770bc59684a9;hpb=761f05a37e0404e6301f70f2f1a74fbb220de9b6;p=lyx.git diff --git a/src/PersonalWordList.cpp b/src/PersonalWordList.cpp index a0a8726eb6..75dcda6aa7 100644 --- a/src/PersonalWordList.cpp +++ b/src/PersonalWordList.cpp @@ -61,7 +61,7 @@ void PersonalWordList::load() 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); }