mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
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:
parent
e2982037d9
commit
761f05a37e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user