diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-24 13:40:29 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-24 13:40:29 +0000 |
commit | 9b0e82f35ed4e98414333e71b71ca56219683d16 (patch) | |
tree | 43c33c5f20bc85112a24c231cdebe8183e918c7f | |
parent | 03725c5795ae5b8c14da4a39cd0ce723c6dd4304 (diff) |
patch 8.2.3660: overflow check uses wrong numberv8.2.3660
Problem: Overflow check uses wrong number.
Solution: Divide by ten.
-rw-r--r-- | src/normal.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
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, |