Patch 8.2.3660

4 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 24, 2021, 8:41:08 AM11/24/21
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages