From 50fa3addad3a737d94b43be2be18b09a586c821d Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 1 Jun 2023 15:41:43 +0200 Subject: [PATCH] Fix handling dots in String::is_numeric(). --- core/string/ustring.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index c7804a10c..87d86b6d1 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -2388,6 +2388,7 @@ bool String::is_numeric() const { return false; }; dot = true; + continue; } if (c < '0' || c > '9') { return false;