diff --git a/source/src/command.cpp b/source/src/command.cpp index 234d45e6..97bdfcb8 100644 --- a/source/src/command.cpp +++ b/source/src/command.cpp @@ -255,7 +255,7 @@ char *executeret(const char *p) // all evaluation hap ident *id = idents->access(c); if(!id) { - if(!isdigit(*c) && ((*c!='+' && *c!='-') || (*c && !isdigit(c[1])))) + if(!isdigit(*c) && ((*c!='+' && *c!='-' && *c!='.') || !isdigit(c[1]))) { conoutf("unknown command: %s", c); }