# HG changeset patch # User Bram Moolenaar # Date 1637761503 -3600 # Node ID a74c8936794acb7a5759f2782aade99f44575f23 # Parent e3534fa157a0587f5280c59e68e02dbd9e2dd3ed patch 8.2.3660: overflow check uses wrong number Commit: https://github.com/vim/vim/commit/9b0e82f35ed4e98414333e71b71ca56219683d16 Author: Bram Moolenaar Date: Wed Nov 24 13:40:29 2021 +0000 patch 8.2.3660: overflow check uses wrong number Problem: Overflow check uses wrong number. Solution: Divide by ten. diff --git a/src/normal.c b/src/normal.c --- 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 --- 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,