# HG changeset patch # User peter1138 # Date 2006-10-28 08:48:31 # Node ID 3898029125a9d7606d90fe434366998136f8fd25 # Parent e06ce31fd68f1c5473481a536f4607bd63b8f4d5 (svn r6972) - Codechange: Allow standard ini-file style comments diff --git a/settings.c b/settings.c --- a/settings.c +++ b/settings.c @@ -221,7 +221,7 @@ static IniFile *ini_load(const char *fil *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;