mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-10 05:42:37 +02: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;
|
return false;
|
||||||
};
|
};
|
||||||
dot = true;
|
dot = true;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
if (c < '0' || c > '9') {
|
if (c < '0' || c > '9') {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user