git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3971
d7cf8633-e32d-0410-b094-
e92efae38249
text = (char *)cmd_text.data;
quotes = 0;
text = (char *)cmd_text.data;
quotes = 0;
+ while (*text && *text <= ' ')
+ text++;
for (i=0 ; i< cmd_text.cursize ; i++)
{
if (text[i] == '"')
quotes++;
if ( !(quotes&1) && text[i] == ';')
break; // don't break if inside a quoted string
for (i=0 ; i< cmd_text.cursize ; i++)
{
if (text[i] == '"')
quotes++;
if ( !(quotes&1) && text[i] == ';')
break; // don't break if inside a quoted string
+ if (text[i] == '\r' || text[i] == '\n')