mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 23:46:00 +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)
|
if (point)
|
||||||
return false;
|
return false;
|
||||||
point = true;
|
point = true;
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!std::isdigit(c))
|
if (!std::isdigit(c))
|
||||||
|
|
Loading…
Reference in a new issue