prepare for LyX personal dictionary file format with comment markers

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37469 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2011-02-03 21:47:15 +00:00
parent e2982037d9
commit 761f05a37e

View File

@ -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);
}