summaryrefslogtreecommitdiff
path: root/src/helpers/MiscFunctions.cpp
diff options
context:
space:
mode:
authorEric_Luo <hnywolf@gmail.com>2023-05-17 00:43:04 +0800
committerGitHub <noreply@github.com>2023-05-16 17:43:04 +0100
commitb5b9af508ab74b1922bc3354d178ebf457db631e (patch)
tree22723bc42743a658ba4833e49b7b3ea86a45d71c /src/helpers/MiscFunctions.cpp
parentd68f8ea668753f3472fa8bda62c4eead9059cbc0 (diff)
bug fix (#2314)
fix float check logic Co-authored-by: hnboy <hnywolf@gmail.ccom>
Diffstat (limited to 'src/helpers/MiscFunctions.cpp')
-rw-r--r--src/helpers/MiscFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp
index dca24552..1010a29e 100644
--- a/src/helpers/MiscFunctions.cpp
+++ b/src/helpers/MiscFunctions.cpp
@@ -243,7 +243,7 @@ bool isNumber(const std::string& str, bool allowfloat) {
if (point)
return false;
point = true;
- break;
+ continue;
}
if (!std::isdigit(c))