Handle a little bit better the empty container case.
This commit is contained in:
1 parent
0483ae7028
commit
6464acff57
2 files changed
+3
-3
No files matched your search
@@ -409,8 +409,8 @@
|
||||
M_GET_INIT value_oplist (value); \
|
||||
do { \
|
||||
bool b = M_GET_IN_STR key_oplist (key, file); \
|
||||
if (!b) { c = 0; break; } \
|
||||
c = fgetc(file); \
|
||||
if (!b) { break; } \
|
||||
if (c != ':') { c = 0; break; } \
|
||||
b = M_GET_IN_STR value_oplist (value, file); \
|
||||
if (!b) { c = 0; break; } \
|
||||
|
||||
Reference in new issue
Block a user