From: divverent Date: Mon, 9 Aug 2010 13:03:41 +0000 (+0000) Subject: VM tokenizer: remove a duplicate condition in a long &&-expression X-Git-Tag: xonotic-v0.1.0preview~230^2~98 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f4b2c929c87754f9c805a8d59d721ddc644eb162;p=xonotic%2Fdarkplaces.git VM tokenizer: remove a duplicate condition in a long &&-expression git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10380 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/common.c b/common.c index 028014bc..b94f0973 100644 --- a/common.c +++ b/common.c @@ -1313,7 +1313,7 @@ skipwhite: else { // regular word - for (;!ISWHITESPACE(*data) && *data != ',' && *data != ';' && *data != '{' && *data != '}' && *data != ')' && *data != '(' && *data != ']' && *data != '[' && *data != ':' && *data != ',' && *data != ';';data++) + for (;!ISWHITESPACE(*data) && *data != '{' && *data != '}' && *data != ')' && *data != '(' && *data != ']' && *data != '[' && *data != ':' && *data != ',' && *data != ';';data++) if (len < (int)sizeof(com_token) - 1) com_token[len++] = *data; com_token[len] = 0;