From ef1561665ca2ddb8930797b44330ee97c4f6064d Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Mon, 27 Dec 2010 22:05:37 +0000 Subject: [PATCH] revert change 37018 for PersonalWordList.cpp, commiting it was a mistake git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37019 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/PersonalWordList.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/PersonalWordList.cpp b/src/PersonalWordList.cpp index 87187e912f..5e32e204f9 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()) { docstring const word = from_utf8(line); insert(word); } @@ -86,8 +86,6 @@ void PersonalWordList::save() docstring_list::const_iterator et = words_.end(); ofs << header() << "\n"; - ofs << "# encoding: utf-8\n"; - ofs << "# one word per line\n"; for (; it != et; ++it) { ofs << to_utf8(*it) << "\n"; } -- 2.39.5