From 468d82256a4e7172ef305923167853452a248554 Mon Sep 17 00:00:00 2001 From: wrmr Date: Sun, 19 Oct 2025 20:44:58 -0400 Subject: support both # and ; comments in cbinkrc --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 9276093..dc4069e 100644 --- a/main.c +++ b/main.c @@ -1248,9 +1248,9 @@ int load_config(Arena *perm, Arena *temp) { continue; } if (!fn) continue; - line = str_trim(line); + line = str_trim(str_cut(line, '#').head); + line = str_trim(str_cut(line, ';').head); if (!line.n) continue; - if (line.s[0] == '#') continue; Cut c = str_cut(line, '='); c.head = str_trim(c.head); c.tail = str_trim(c.tail); -- cgit v1.2.3