X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPersonalWordList.cpp;h=75dcda6aa70d8d2a786520c4fbc090e17666e23e;hb=b64d17e9dcaeb84a94095622c93a051e4d93eab7;hp=5e32e204f99fe35ba8c58160acf9c515a63c7f90;hpb=ef1561665ca2ddb8930797b44330ee97c4f6064d;p=lyx.git diff --git a/src/PersonalWordList.cpp b/src/PersonalWordList.cpp index 5e32e204f9..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()) { + if (!line.empty() && !(line[0] == '#')) { docstring const word = from_utf8(line); insert(word); }