mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.3660: overflow check uses wrong number
Problem: Overflow check uses wrong number. Solution: Divide by ten.
This commit is contained in:
@@ -630,7 +630,7 @@ getcount:
|
||||
del_from_showcmd(4); // delete the digit and ~@%
|
||||
#endif
|
||||
}
|
||||
else if (ca.count0 >= 999999999L)
|
||||
else if (ca.count0 > 99999999L)
|
||||
{
|
||||
ca.count0 = 999999999L;
|
||||
}
|
||||
|
Reference in New Issue
Block a user