|
Karsten Hopp |
cb90d4 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
cb90d4 |
Subject: Patch 7.4.706
|
|
Karsten Hopp |
cb90d4 |
Fcc: outbox
|
|
Karsten Hopp |
cb90d4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
cb90d4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
cb90d4 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
cb90d4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
cb90d4 |
------------
|
|
Karsten Hopp |
cb90d4 |
|
|
Karsten Hopp |
cb90d4 |
Patch 7.4.706
|
|
Karsten Hopp |
cb90d4 |
Problem: Window drawn wrong when 'laststatus' is zero and there is a
|
|
Karsten Hopp |
cb90d4 |
command-line window. (Yclept Nemo)
|
|
Karsten Hopp |
cb90d4 |
Solution: Set the status height a bit later. (Christian Brabandt)
|
|
Karsten Hopp |
cb90d4 |
Files: src/window.c
|
|
Karsten Hopp |
cb90d4 |
|
|
Karsten Hopp |
cb90d4 |
|
|
Karsten Hopp |
cb90d4 |
*** ../vim-7.4.705/src/window.c 2015-02-27 17:19:07.104942344 +0100
|
|
Karsten Hopp |
cb90d4 |
--- src/window.c 2015-04-21 15:42:55.362449950 +0200
|
|
Karsten Hopp |
cb90d4 |
***************
|
|
Karsten Hopp |
cb90d4 |
*** 1236,1242 ****
|
|
Karsten Hopp |
cb90d4 |
{
|
|
Karsten Hopp |
cb90d4 |
wp->w_winrow = oldwin->w_winrow + oldwin->w_height + STATUS_HEIGHT;
|
|
Karsten Hopp |
cb90d4 |
wp->w_status_height = oldwin->w_status_height;
|
|
Karsten Hopp |
cb90d4 |
! oldwin->w_status_height = STATUS_HEIGHT;
|
|
Karsten Hopp |
cb90d4 |
}
|
|
Karsten Hopp |
cb90d4 |
#ifdef FEAT_VERTSPLIT
|
|
Karsten Hopp |
cb90d4 |
if (flags & WSP_BOT)
|
|
Karsten Hopp |
cb90d4 |
--- 1236,1243 ----
|
|
Karsten Hopp |
cb90d4 |
{
|
|
Karsten Hopp |
cb90d4 |
wp->w_winrow = oldwin->w_winrow + oldwin->w_height + STATUS_HEIGHT;
|
|
Karsten Hopp |
cb90d4 |
wp->w_status_height = oldwin->w_status_height;
|
|
Karsten Hopp |
cb90d4 |
! /* Don't set the status_height for oldwin yet, this might break
|
|
Karsten Hopp |
cb90d4 |
! * frame_fix_height(oldwin), therefore will be set below. */
|
|
Karsten Hopp |
cb90d4 |
}
|
|
Karsten Hopp |
cb90d4 |
#ifdef FEAT_VERTSPLIT
|
|
Karsten Hopp |
cb90d4 |
if (flags & WSP_BOT)
|
|
Karsten Hopp |
cb90d4 |
***************
|
|
Karsten Hopp |
cb90d4 |
*** 1244,1249 ****
|
|
Karsten Hopp |
cb90d4 |
--- 1245,1255 ----
|
|
Karsten Hopp |
cb90d4 |
#endif
|
|
Karsten Hopp |
cb90d4 |
frame_fix_height(wp);
|
|
Karsten Hopp |
cb90d4 |
frame_fix_height(oldwin);
|
|
Karsten Hopp |
cb90d4 |
+
|
|
Karsten Hopp |
cb90d4 |
+ if (!before)
|
|
Karsten Hopp |
cb90d4 |
+ /* new window above current one, set the status_height after
|
|
Karsten Hopp |
cb90d4 |
+ * frame_fix_height(oldwin) */
|
|
Karsten Hopp |
cb90d4 |
+ oldwin->w_status_height = STATUS_HEIGHT;
|
|
Karsten Hopp |
cb90d4 |
}
|
|
Karsten Hopp |
cb90d4 |
|
|
Karsten Hopp |
cb90d4 |
if (flags & (WSP_TOP | WSP_BOT))
|
|
Karsten Hopp |
cb90d4 |
*** ../vim-7.4.705/src/version.c 2015-04-21 15:25:26.425488328 +0200
|
|
Karsten Hopp |
cb90d4 |
--- src/version.c 2015-04-21 15:29:15.675076417 +0200
|
|
Karsten Hopp |
cb90d4 |
***************
|
|
Karsten Hopp |
cb90d4 |
*** 743,744 ****
|
|
Karsten Hopp |
cb90d4 |
--- 743,746 ----
|
|
Karsten Hopp |
cb90d4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
cb90d4 |
+ /**/
|
|
Karsten Hopp |
cb90d4 |
+ 706,
|
|
Karsten Hopp |
cb90d4 |
/**/
|
|
Karsten Hopp |
cb90d4 |
|
|
Karsten Hopp |
cb90d4 |
--
|
|
Karsten Hopp |
cb90d4 |
It is too bad that the speed of light hasn't kept pace with the
|
|
Karsten Hopp |
cb90d4 |
changes in CPU speed and network bandwidth. -- <wietse@porcupine.org>
|
|
Karsten Hopp |
cb90d4 |
|
|
Karsten Hopp |
cb90d4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
cb90d4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
cb90d4 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
cb90d4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|