diff --git a/src/corelib/scene.c b/src/corelib/scene.c index f638bf4..0d6b57e 100644 --- a/src/corelib/scene.c +++ b/src/corelib/scene.c @@ -82,7 +82,7 @@ void _parse_key(FILE* file, char* out) { char c; do { c = fgetc(file); - if(c == ':') { + if(c == ':' || c == ';') { *out = '\0'; } else if(c == '#') { freadto(file, '\n'); @@ -90,7 +90,7 @@ void _parse_key(FILE* file, char* out) { *out = c; ++out; } - } while(c != ':'); + } while(c != ':' && c != ';'); } static