X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPersonalWordList.cpp;h=75dcda6aa70d8d2a786520c4fbc090e17666e23e;hb=a7eb3c4c6e822657e4ace3473be7ede095906671;hp=5e32e204f99fe35ba8c58160acf9c515a63c7f90;hpb=a2287675d2362eea8ae6f853a1666db5f78a9d89;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); }