[vim/f18] - patchlevel 643

Karsten Hopp karsten at fedoraproject.org
Thu Oct 4 21:37:05 UTC 2012


commit e1ac2e7f4b185d50983852f1b01bd6be84472dda
Author: Karsten Hopp <karsten at redhat.com>
Date:   Fri Oct 5 00:35:47 2012 +0200

    - patchlevel 643

 7.3.643 |   73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/7.3.643 b/7.3.643
new file mode 100644
index 0000000..c2f700c
--- /dev/null
+++ b/7.3.643
@@ -0,0 +1,73 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.643
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.643 (after 7.3.635)
+Problem:    MS-Windows: When starting gvim maximized 'lines' and 'columns' are
+	    wrong. (Christian Robinson)
+Solution:   Move the check for gui.starting from ui_get_shellsize() to
+	    check_shellsize().
+Files:	    src/ui.c, src/term.c
+
+
+*** ../vim-7.3.642/src/ui.c	2012-08-23 13:28:50.000000000 +0200
+--- src/ui.c	2012-08-29 16:20:04.000000000 +0200
+***************
+*** 298,306 ****
+      int	    retval;
+  
+  #ifdef FEAT_GUI
+-     if (gui.starting)
+- 	/* possibly a system call during startup, check later */
+- 	return OK;
+      if (gui.in_use)
+  	retval = gui_get_shellsize();
+      else
+--- 298,303 ----
+*** ../vim-7.3.642/src/term.c	2012-08-15 16:20:59.000000000 +0200
+--- src/term.c	2012-08-29 16:22:25.000000000 +0200
+***************
+*** 3006,3012 ****
+      int		old_Rows = Rows;
+      int		old_Columns = Columns;
+  
+!     if (!exiting)
+      {
+  	(void)ui_get_shellsize();
+  	check_shellsize();
+--- 3006,3018 ----
+      int		old_Rows = Rows;
+      int		old_Columns = Columns;
+  
+!     if (!exiting
+! #ifdef FEAT_GUI
+! 	    /* Do not get the size when executing a shell command during
+! 	     * startup. */
+! 	    && !gui.starting
+! #endif
+! 	    )
+      {
+  	(void)ui_get_shellsize();
+  	check_shellsize();
+*** ../vim-7.3.642/src/version.c	2012-08-29 15:50:22.000000000 +0200
+--- src/version.c	2012-08-29 16:25:42.000000000 +0200
+***************
+*** 721,722 ****
+--- 721,724 ----
+  {   /* Add new patch number below this line */
++ /**/
++     643,
+  /**/
+
+-- 
+Eight Megabytes And Continually Swapping.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- 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    ///


More information about the scm-commits mailing list