From 9b0e82f35ed4e98414333e71b71ca56219683d16 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 24 Nov 2021 13:40:29 +0000 Subject: [PATCH] patch 8.2.3660: overflow check uses wrong number Problem: Overflow check uses wrong number. Solution: Divide by ten. --- src/normal.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/normal.c b/src/normal.c index adce93205..0fbfe9207 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 c56391f35..ffc40ef81 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3660, /**/ 3659, /**/ -- 2.40.0