diff options
author | Eric_Luo <[email protected]> | 2023-05-17 00:43:04 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-16 17:43:04 +0100 |
commit | b5b9af508ab74b1922bc3354d178ebf457db631e (patch) | |
tree | 22723bc42743a658ba4833e49b7b3ea86a45d71c | |
parent | d68f8ea668753f3472fa8bda62c4eead9059cbc0 (diff) | |
download | Hyprland-b5b9af508ab74b1922bc3354d178ebf457db631e.tar.gz Hyprland-b5b9af508ab74b1922bc3354d178ebf457db631e.zip |
bug fix (#2314)
fix float check logic
Co-authored-by: hnboy <[email protected]>
-rw-r--r-- | src/helpers/MiscFunctions.cpp | 2 |
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)) |