parsing fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1535 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-12-30 12:25:31 +00:00
parent d7d474466c
commit aaeb2da8a2
+1 -1
View File
@@ -249,7 +249,7 @@ char *executeret(const char *p) // all evaluation hap
ident *id = idents->access(c);
if(!id)
{
if(!isdigit(*c) && ((*c!='+' && *c!='-') || !isdigit(c[1]))) conoutf("unknown command: %s", c);
if(!isdigit(*c) && ((*c!='+' && *c!='-') || (*c && !isdigit(c[1])))) conoutf("unknown command: %s", c);
setretval(newstring(c));
}
else