mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Fix handling dots in String::is_numeric().
This commit is contained in:
parent
dbc5b1df35
commit
50fa3addad
@ -2388,6 +2388,7 @@ bool String::is_numeric() const {
|
||||
return false;
|
||||
};
|
||||
dot = true;
|
||||
continue;
|
||||
}
|
||||
if (c < '0' || c > '9') {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user