From 0074d89d2929bc5cba43860693c4f45be67da35e Mon Sep 17 00:00:00 2001 From: sezero Date: Sat, 6 Mar 2010 13:35:05 +0000 Subject: [PATCH] common.c (COM_Parse): commented out the check for ':' in regular word parsing so that a command line like "+connect ip:port2 works. git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@102 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Quake/common.c b/Quake/common.c index 6aa13c05..69dfb2a9 100644 --- a/Quake/common.c +++ b/Quake/common.c @@ -1039,7 +1039,8 @@ skipwhite: data++; len++; c = *data; - if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' || c==':') + /* commented out the check for ':' so that ip:port works */ + if (c=='{' || c=='}'|| c==')'|| c=='(' || c=='\'' /* || c==':' */) break; } while (c>32);