mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r6972) - Codechange: Allow standard ini-file style comments
This commit is contained in:
parent
bdd86c7da2
commit
5cdeab55f0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue