mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-08 21:33:57 +00:00
[common] fixed improper comment parsing, fixes #233
This commit is contained in:
parent
f9d919bdbb
commit
c7aa8871e4
2 changed files with 3 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
B1-102-g4d0f019ad5+1
|
||||
B1-103-gf9d919bdbb+1
|
|
@ -382,6 +382,7 @@ bool option_load(const char * filename)
|
|||
{
|
||||
if (comment && c != '\n')
|
||||
continue;
|
||||
comment = false;
|
||||
|
||||
switch(c)
|
||||
{
|
||||
|
@ -729,4 +730,4 @@ bool option_get_bool(const char * module, const char * name)
|
|||
}
|
||||
assert(o->type == OPTION_TYPE_BOOL);
|
||||
return o->value.x_bool;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue