mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibC: Allow parsing numbers right on the cutoff
This commit is contained in:
parent
0132e494d6
commit
2a45d30302
Notes:
sideshowbarker
2024-07-17 10:07:28 +09:00
Author: https://github.com/timschumi
Commit: 2a45d30302
Pull-request: https://github.com/SerenityOS/serenity/pull/14313
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ private:
|
|||
if (is_below_cutoff) {
|
||||
return true;
|
||||
} else {
|
||||
return m_num == m_cutoff && digit < m_max_digit_after_cutoff;
|
||||
return m_num == m_cutoff && digit <= m_max_digit_after_cutoff;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue