From 7b43e9ee2b22e1ecbe07f52c33cfcb172fd2e38d Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 14 Oct 2026 18:43:34 -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 2.12.1