fix msvc warning, somehow msvc thinks !line[0] is a boolean

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37662 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2011-02-14 19:54:04 +00:00
parent e254eec97b
commit 6b24870ab5

View File

@ -61,7 +61,7 @@ void PersonalWordList::load()
if (line == header()) {
while (ifs) {
getline(ifs, line);
if (!line.empty() && !line[0] == '#') {
if (!line.empty() && !(line[0] == '#')) {
docstring const word = from_utf8(line);
insert(word);
}