Christian Brabandt wrote:
diff --git a/src/window.c b/src/window.c
--- a/src/window.c
+++ b/src/window.c
@@ -5650,7 +5650,10 @@ win_new_height(wp, height)
if (wp->w_height > 0)
{
if (wp == curwin)
- validate_cursor(); /* w_wrow needs to be valid */
+ /* w_wrow needs to be valid, might call win_new_height recursively... */
+ validate_cursor();
+ if (wp->w_height != prev_height)
+ return; /* recursive call already changed window size */
if (wp->w_wrow != wp->w_prev_fraction_row)
set_fraction(wp);
}
Hello, Christian:
Nice! It fixes the problem that I saw; when I bring up gvim with the
OP's .vimrc it now shows the status line and does not eventually crash
due to jkLG motions.
Regards,
Chip
--
--
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].
For more options, visit https://groups.google.com/d/optout.