mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
e254eec97b
commit
6b24870ab5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user