changeset 4969:2f9ccf4f310d draft

(svn r6972) - Codechange: Allow standard ini-file style comments
author peter1138 <peter1138@openttd.org>
date Sat, 28 Oct 2006 08:48:31 +0000
parents d5d08843c422
children 7792248217a1
files settings.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/settings.c
+++ b/settings.c
@@ -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;