fix lockup

this seems to fix a lockup that happens randomly on windows at startup, content load/content unload/controller hotplug
This commit is contained in:
radius 2016-05-23 17:56:39 -05:00
parent 4a7bbc4dcc
commit 9300313fce

View File

@ -265,7 +265,7 @@ static char *strip_comment(char *str)
char *strend = str + strlen(str);
bool cut_comment = true;
while (*str)
while (!string_is_empty)
{
char *comment = NULL;
char *literal = strchr(str, '\"');