From f4b2c929c87754f9c805a8d59d721ddc644eb162 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 9 Aug 2010 13:03:41 +0000 Subject: [PATCH] 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 --- common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2