mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
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:
parent
603ae7eb7a
commit
b1103bb342
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ int32_t SCRIPT_ParseBuffer(int32_t scripthandle, char *data, int32_t length)
|
|||
case '\n':
|
||||
case '\r':
|
||||
// value complete, add it using parsed name
|
||||
while (*dp == ' ' && *dp == '\t') dp--;
|
||||
while (*dp == ' ' || *dp == '\t') dp--;
|
||||
*(dp) = 0;
|
||||
while (*currentvalue == ' ' || *currentvalue == '\t') currentvalue++;
|
||||
state = ParsingIdle;
|
||||
|
|
Loading…
Reference in a new issue