|
Karsten Hopp |
51cb4b |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
51cb4b |
Subject: Patch 7.3.643
|
|
Karsten Hopp |
51cb4b |
Fcc: outbox
|
|
Karsten Hopp |
51cb4b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
51cb4b |
Mime-Version: 1.0
|
|
Karsten Hopp |
51cb4b |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
51cb4b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
51cb4b |
------------
|
|
Karsten Hopp |
51cb4b |
|
|
Karsten Hopp |
51cb4b |
Patch 7.3.643 (after 7.3.635)
|
|
Karsten Hopp |
51cb4b |
Problem: MS-Windows: When starting gvim maximized 'lines' and 'columns' are
|
|
Karsten Hopp |
51cb4b |
wrong. (Christian Robinson)
|
|
Karsten Hopp |
51cb4b |
Solution: Move the check for gui.starting from ui_get_shellsize() to
|
|
Karsten Hopp |
51cb4b |
check_shellsize().
|
|
Karsten Hopp |
51cb4b |
Files: src/ui.c, src/term.c
|
|
Karsten Hopp |
51cb4b |
|
|
Karsten Hopp |
51cb4b |
|
|
Karsten Hopp |
51cb4b |
*** ../vim-7.3.642/src/ui.c 2012-08-23 13:28:50.000000000 +0200
|
|
Karsten Hopp |
51cb4b |
--- src/ui.c 2012-08-29 16:20:04.000000000 +0200
|
|
Karsten Hopp |
51cb4b |
***************
|
|
Karsten Hopp |
51cb4b |
*** 298,306 ****
|
|
Karsten Hopp |
51cb4b |
int retval;
|
|
Karsten Hopp |
51cb4b |
|
|
Karsten Hopp |
51cb4b |
#ifdef FEAT_GUI
|
|
Karsten Hopp |
51cb4b |
- if (gui.starting)
|
|
Karsten Hopp |
51cb4b |
- /* possibly a system call during startup, check later */
|
|
Karsten Hopp |
51cb4b |
- return OK;
|
|
Karsten Hopp |
51cb4b |
if (gui.in_use)
|
|
Karsten Hopp |
51cb4b |
retval = gui_get_shellsize();
|
|
Karsten Hopp |
51cb4b |
else
|
|
Karsten Hopp |
51cb4b |
--- 298,303 ----
|
|
Karsten Hopp |
51cb4b |
*** ../vim-7.3.642/src/term.c 2012-08-15 16:20:59.000000000 +0200
|
|
Karsten Hopp |
51cb4b |
--- src/term.c 2012-08-29 16:22:25.000000000 +0200
|
|
Karsten Hopp |
51cb4b |
***************
|
|
Karsten Hopp |
51cb4b |
*** 3006,3012 ****
|
|
Karsten Hopp |
51cb4b |
int old_Rows = Rows;
|
|
Karsten Hopp |
51cb4b |
int old_Columns = Columns;
|
|
Karsten Hopp |
51cb4b |
|
|
Karsten Hopp |
51cb4b |
! if (!exiting)
|
|
Karsten Hopp |
51cb4b |
{
|
|
Karsten Hopp |
51cb4b |
(void)ui_get_shellsize();
|
|
Karsten Hopp |
51cb4b |
check_shellsize();
|
|
Karsten Hopp |
51cb4b |
--- 3006,3018 ----
|
|
Karsten Hopp |
51cb4b |
int old_Rows = Rows;
|
|
Karsten Hopp |
51cb4b |
int old_Columns = Columns;
|
|
Karsten Hopp |
51cb4b |
|
|
Karsten Hopp |
51cb4b |
! if (!exiting
|
|
Karsten Hopp |
51cb4b |
! #ifdef FEAT_GUI
|
|
Karsten Hopp |
51cb4b |
! /* Do not get the size when executing a shell command during
|
|
Karsten Hopp |
51cb4b |
! * startup. */
|
|
Karsten Hopp |
51cb4b |
! && !gui.starting
|
|
Karsten Hopp |
51cb4b |
! #endif
|
|
Karsten Hopp |
51cb4b |
! )
|
|
Karsten Hopp |
51cb4b |
{
|
|
Karsten Hopp |
51cb4b |
(void)ui_get_shellsize();
|
|
Karsten Hopp |
51cb4b |
check_shellsize();
|
|
Karsten Hopp |
51cb4b |
*** ../vim-7.3.642/src/version.c 2012-08-29 15:50:22.000000000 +0200
|
|
Karsten Hopp |
51cb4b |
--- src/version.c 2012-08-29 16:25:42.000000000 +0200
|
|
Karsten Hopp |
51cb4b |
***************
|
|
Karsten Hopp |
51cb4b |
*** 721,722 ****
|
|
Karsten Hopp |
51cb4b |
--- 721,724 ----
|
|
Karsten Hopp |
51cb4b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
51cb4b |
+ /**/
|
|
Karsten Hopp |
51cb4b |
+ 643,
|
|
Karsten Hopp |
51cb4b |
/**/
|
|
Karsten Hopp |
51cb4b |
|
|
Karsten Hopp |
51cb4b |
--
|
|
Karsten Hopp |
51cb4b |
Eight Megabytes And Continually Swapping.
|
|
Karsten Hopp |
51cb4b |
|
|
Karsten Hopp |
51cb4b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
51cb4b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
51cb4b |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
51cb4b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|