From b387dee9c6a245f72adccdb392922489eea58da5 Mon Sep 17 00:00:00 2001 From: Sara Date: Sun, 16 Jul 2023 13:46:53 +0200 Subject: [PATCH] first whitespace of a line is now skipped when processing arguments --- src/corelib/scene.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/corelib/scene.c b/src/corelib/scene.c index 239cca3..61090c2 100644 --- a/src/corelib/scene.c +++ b/src/corelib/scene.c @@ -103,6 +103,9 @@ void _parse_value(FILE* file, char* out, int* _argc, char** argv) { switch(c) { case '#': freadto(file, '\n'); + // fall through + case '\n': + ungetc(nextnw(file), file); break; case ';': *out = '\0';