mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 07:45:58 +01:00
bug fix (#2314)
fix float check logic Co-authored-by: hnboy <hnywolf@gmail.ccom>
This commit is contained in:
parent
d68f8ea668
commit
b5b9af508a
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ bool isNumber(const std::string& str, bool allowfloat) {
|
|||
if (point)
|
||||
return false;
|
||||
point = true;
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!std::isdigit(c))
|
||||
|
|
Loading…
Reference in a new issue