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: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@102 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-03-06 13:35:05 +00:00
parent ef5d5481aa
commit f81bcce75c

View file

@ -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);