From d0cece94a2f75a80aecef2105df2a21ff541bead Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 17 Oct 2026 12:53:19 -1000 Subject: Run a config comment to the end of its line skip_line stopped at a NUL as well as at a newline, so the rest of the comment after one was read as a setting. --- source/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/config.c') diff --git a/source/config.c b/source/config.c index 2e79791..b029613 100644 --- a/source/config.c +++ b/source/config.c @@ -33,7 +33,7 @@ static void skip_line(FILE *f) { int c; - while ((c = next_char(f)) && c != '\n' && c != EOF) + while ((c = next_char(f)) != '\n' && c != EOF) ; } -- cgit