Ignore INI lines that start with ;
This commit is contained in:
parent
b3c953375c
commit
ecce4c6745
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue