mirror of
https://github.com/vim/vim.git
synced 2025-09-05 21:43:39 -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:
parent
03725c5795
commit
9b0e82f35e
@ -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;
|
||||
}
|
||||
|
@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3660,
|
||||
/**/
|
||||
3659,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user