Merge branch 'console-silly-characters' into 'next'
Get rid of some silly behavior with certain characters in console See merge request STJr/SRB2!1110
This commit is contained in:
commit
dbc32ea9ea
|
@ -2370,15 +2370,6 @@ skipwhite:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// parse single characters
|
|
||||||
if (c == '{' || c == '}' || c == ')' || c == '(' || c == '\'')
|
|
||||||
{
|
|
||||||
com_token[len] = c;
|
|
||||||
len++;
|
|
||||||
com_token[len] = 0;
|
|
||||||
return data + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// parse a regular word
|
// parse a regular word
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
@ -2398,8 +2389,6 @@ skipwhite:
|
||||||
len++;
|
len++;
|
||||||
c = *data;
|
c = *data;
|
||||||
}
|
}
|
||||||
if (c == '{' || c == '}' || c == ')'|| c == '(' || c == '\'')
|
|
||||||
break;
|
|
||||||
} while (c > 32);
|
} while (c > 32);
|
||||||
|
|
||||||
com_token[len] = 0;
|
com_token[len] = 0;
|
||||||
|
|
Loading…
Reference in New Issue