diff options
author | peter1138 <peter1138@openttd.org> | 2006-10-28 08:48:31 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-10-28 08:48:31 +0000 |
commit | 5cdeab55f067f6d554d47c7510bc5afeb643cc24 (patch) | |
tree | 37abd4e082223a778f29d41bd7672f041e1fb2e1 /settings.c | |
parent | bdd86c7da2c79c3ae25b5cef35281a67b81faa6a (diff) | |
download | openttd-5cdeab55f067f6d554d47c7510bc5afeb643cc24.tar.xz |
(svn r6972) - Codechange: Allow standard ini-file style comments
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c index 6ffc63dbf..c0557fa17 100644 --- a/settings.c +++ b/settings.c @@ -221,7 +221,7 @@ static IniFile *ini_load(const char *filename) *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; |