]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.C
we rely on Windows and maybe Linux on a Qt bug
[lyx.git] / src / mathed / MathFactory.C
index 68cb33a1fdcd5a24e96fd68265252fb03fbf9aa4..3e21d59ae266d2685e12552aeb511da4885d3cba 100644 (file)
@@ -124,7 +124,7 @@ void initSymbols()
        while (getline(fs, line)) {
                int charid     = 0;
                int fallbackid = 0;
-               if (!line.empty() && line[0] == '#')
+               if (line.empty() || line[0] == '#')
                        continue;
 
                // special case of iffont/else/endif