To: vim_dev@googlegroups.com Subject: Patch 8.2.3660 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3660 (after 8.2.3659) Problem: Overflow check uses wrong number. Solution: Divide by ten. Files: src/normal.c *** ../vim-8.2.3659/src/normal.c 2021-11-24 12:17:49.172449912 +0000 --- src/normal.c 2021-11-24 13:37:11.306907069 +0000 *************** *** 630,636 **** del_from_showcmd(4); // delete the digit and ~@% #endif } ! else if (ca.count0 >= 999999999L) { ca.count0 = 999999999L; } --- 630,636 ---- del_from_showcmd(4); // delete the digit and ~@% #endif } ! else if (ca.count0 > 99999999L) { ca.count0 = 999999999L; } *** ../vim-8.2.3659/src/version.c 2021-11-24 12:17:49.172449912 +0000 --- src/version.c 2021-11-24 13:40:08.411003706 +0000 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3660, /**/ -- Why don't cannibals eat clowns? Because they taste funny. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///