Fix a stupid error in MACT, found with GCC's -Wlogical-op parameter.

git-svn-id: https://svn.eduke32.com/eduke32@5538 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-01-11 05:05:21 +00:00
parent 603ae7eb7a
commit b1103bb342

View file

@ -395,7 +395,7 @@ int32_t SCRIPT_ParseBuffer(int32_t scripthandle, char *data, int32_t length)
case '\n': case '\n':
case '\r': case '\r':
// value complete, add it using parsed name // value complete, add it using parsed name
while (*dp == ' ' && *dp == '\t') dp--; while (*dp == ' ' || *dp == '\t') dp--;
*(dp) = 0; *(dp) = 0;
while (*currentvalue == ' ' || *currentvalue == '\t') currentvalue++; while (*currentvalue == ' ' || *currentvalue == '\t') currentvalue++;
state = ParsingIdle; state = ParsingIdle;