home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.643 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  2.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.643
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.643 (after 7.3.635)
  11. Problem:    MS-Windows: When starting gvim maximized 'lines' and 'columns' are
  12.         wrong. (Christian Robinson)
  13. Solution:   Move the check for gui.starting from ui_get_shellsize() to
  14.         check_shellsize().
  15. Files:        src/ui.c, src/term.c
  16.  
  17.  
  18. *** ../vim-7.3.642/src/ui.c    2012-08-23 13:28:50.000000000 +0200
  19. --- src/ui.c    2012-08-29 16:20:04.000000000 +0200
  20. ***************
  21. *** 298,306 ****
  22.       int        retval;
  23.   
  24.   #ifdef FEAT_GUI
  25. -     if (gui.starting)
  26. -     /* possibly a system call during startup, check later */
  27. -     return OK;
  28.       if (gui.in_use)
  29.       retval = gui_get_shellsize();
  30.       else
  31. --- 298,303 ----
  32. *** ../vim-7.3.642/src/term.c    2012-08-15 16:20:59.000000000 +0200
  33. --- src/term.c    2012-08-29 16:22:25.000000000 +0200
  34. ***************
  35. *** 3006,3012 ****
  36.       int        old_Rows = Rows;
  37.       int        old_Columns = Columns;
  38.   
  39. !     if (!exiting)
  40.       {
  41.       (void)ui_get_shellsize();
  42.       check_shellsize();
  43. --- 3006,3018 ----
  44.       int        old_Rows = Rows;
  45.       int        old_Columns = Columns;
  46.   
  47. !     if (!exiting
  48. ! #ifdef FEAT_GUI
  49. !         /* Do not get the size when executing a shell command during
  50. !          * startup. */
  51. !         && !gui.starting
  52. ! #endif
  53. !         )
  54.       {
  55.       (void)ui_get_shellsize();
  56.       check_shellsize();
  57. *** ../vim-7.3.642/src/version.c    2012-08-29 15:50:22.000000000 +0200
  58. --- src/version.c    2012-08-29 16:25:42.000000000 +0200
  59. ***************
  60. *** 721,722 ****
  61. --- 721,724 ----
  62.   {   /* Add new patch number below this line */
  63. + /**/
  64. +     643,
  65.   /**/
  66.  
  67. -- 
  68. Eight Megabytes And Continually Swapping.
  69.  
  70.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  71. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  72. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  73.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  74.