summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-24 13:40:29 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-24 13:40:29 +0000
commit9b0e82f35ed4e98414333e71b71ca56219683d16 (patch)
tree43c33c5f20bc85112a24c231cdebe8183e918c7f /src
parent03725c5795ae5b8c14da4a39cd0ce723c6dd4304 (diff)
patch 8.2.3660: overflow check uses wrong numberv8.2.3660
Problem: Overflow check uses wrong number. Solution: Divide by ten.
Diffstat (limited to 'src')
-rw-r--r--src/normal.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index adce932057..0fbfe92076 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -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;
}
diff --git a/src/version.c b/src/version.c
index c56391f356..ffc40ef812 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3660,
+/**/
3659,
/**/
3658,