Patch 8.1.1509
Problem: Cmdline_row can become negative, causing a crash.
Solution: Make sure cmdline_row does not become negagive. (closes #4102)
Files: src/misc1.c
*** ../vim-8.1.1508/src/misc1.c 2019-05-25 20:21:24.677951017 +0200
--- src/misc1.c 2019-06-09 16:11:30.005986599 +0200
***************
*** 1447,1455 ****
i = get_number(TRUE, mouse_used);
if (KeyTyped)
{
! /* don't call wait_return() now */
! /* msg_putchar('\n'); */
! cmdline_row = msg_row - 1;
need_wait_return = FALSE;
msg_didany = FALSE;
msg_didout = FALSE;
--- 1447,1455 ----
i = get_number(TRUE, mouse_used);
if (KeyTyped)
{
! // don't call wait_return() now
! if (msg_row > 0)
! cmdline_row = msg_row - 1;
need_wait_return = FALSE;
msg_didany = FALSE;
msg_didout = FALSE;
*** ../vim-8.1.1508/src/version.c 2019-06-09 15:35:38.539101807 +0200
--- src/version.c 2019-06-09 16:16:12.672797829 +0200
***************
*** 779,780 ****
--- 779,782 ----
{ /* Add new patch number below this line */
+ /**/
+ 1509,
/**/
--
There are three kinds of persons: Those who can count and those who can't.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201906091441.x59Ef64Y022053%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.