Ignore INI lines that start with ;

This commit is contained in:
Kp 2014-05-24 23:03:19 +00:00
parent b3c953375c
commit ecce4c6745

View file

@ -77,7 +77,11 @@ static void AppendIniArgs(void)
{
static const char separator[] = " ";
for(char *token = strtok(line, separator); token != NULL; token = strtok(NULL, separator))
{
if (*token == ';')
break;
Args.push_back(token);
}
}
PHYSFS_close(f);
}