Allow - to trigger the number check.
This commit is contained in:
parent
72c1286053
commit
11d6f00bfb
@ -373,6 +373,8 @@ namespace coreutils {
|
||||
}
|
||||
|
||||
bool ZString::startsWithNumber() {
|
||||
if(*cursor == '-')
|
||||
return true;
|
||||
return ((*cursor >= '0') && (*cursor <= '9'));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user