mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 13:20:58 +00:00
Avoid processing empty lines when reading the symbols file
* src/mathed/MathFactory.C (initSymbols): skip a line when it is empty or a comment. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15961 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
61c43883ba
commit
22be03e68c
@ -124,7 +124,7 @@ void initSymbols()
|
|||||||
while (getline(fs, line)) {
|
while (getline(fs, line)) {
|
||||||
int charid = 0;
|
int charid = 0;
|
||||||
int fallbackid = 0;
|
int fallbackid = 0;
|
||||||
if (!line.empty() && line[0] == '#')
|
if (line.empty() || line[0] == '#')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// special case of iffont/else/endif
|
// special case of iffont/else/endif
|
||||||
|
Loading…
Reference in New Issue
Block a user