Skip to content

Commit 9b0e82f

Browse files
committed
patch 8.2.3660: overflow check uses wrong number
Problem: Overflow check uses wrong number. Solution: Divide by ten.
1 parent 03725c5 commit 9b0e82f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/normal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ normal_cmd(
630630
del_from_showcmd(4); // delete the digit and ~@%
631631
#endif
632632
}
633-
else if (ca.count0 >= 999999999L)
633+
else if (ca.count0 > 99999999L)
634634
{
635635
ca.count0 = 999999999L;
636636
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ static char *(features[]) =
757757

758758
static int included_patches[] =
759759
{ /* Add new patch number below this line */
760+
/**/
761+
3660,
760762
/**/
761763
3659,
762764
/**/

0 commit comments

Comments
 (0)