(svn r6972) - Codechange: Allow standard ini-file style comments
authorpeter1138
Sat, 28 Oct 2006 08:48:31 +0000
changeset 4969 e68b7e0b27e3
parent 4968 6cfec8858f17
child 4970 d5b2b619f48c
(svn r6972) - Codechange: Allow standard ini-file style comments
settings.c
--- a/settings.c	Fri Oct 27 20:39:58 2006 +0000
+++ b/settings.c	Sat Oct 28 08:48:31 2006 +0000
@@ -221,7 +221,7 @@
 		*e = '\0';
 
 		// skip comments and empty lines
-		if (*s == '#' || *s == '\0') {
+		if (*s == '#' || *s == ';' || *s == '\0') {
 			uint ns = comment_size + (e - s + 1);
 			uint a = comment_alloc;
 			uint pos;