1
0
Fork 0
forked from fte/fteqw

More robust. Slightly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3378 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-10-06 00:17:04 +00:00
parent 1fb8ab1487
commit 0ba6d4c515

View file

@ -263,7 +263,12 @@ skipwhite:
c = '\n';
data++;
}
else if (c=='\"'||c=='\0')
else if (c=='\"')
{
qcc_token[len] = 0;
return data;
}
else if (c=='\0'||c=='\n')
{
qcc_token[len] = 0;
return data;