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 / 6.2.522 < prev    next >
Encoding:
Internet Message Format  |  2004-05-02  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.522
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.2.522
  11. Problem:    GUI: when changing 'cmdheight' in the gvimrc file the window
  12.         layout is messed up. (Keith Dart)
  13. Solution:   Skip updating the window layout when changing 'cmdheight' while
  14.         still starting up.
  15. Files:        src/option.c
  16.  
  17.  
  18. *** ../vim-6.2.521/src/option.c    Thu Apr 29 16:36:50 2004
  19. --- src/option.c    Mon May  3 14:16:40 2004
  20. ***************
  21. *** 6741,6747 ****
  22.           errmsg = e_positive;
  23.           p_ch = 1;
  24.       }
  25. !     if (p_ch != old_value)
  26.           command_height(old_value);
  27.       }
  28.   
  29. --- 6753,6766 ----
  30.           errmsg = e_positive;
  31.           p_ch = 1;
  32.       }
  33. !     /* Only compute the new window layout when startup has been
  34. !      * completed. Otherwise the frame sizes may be wrong. */
  35. !     if (p_ch != old_value && full_screen
  36. ! #ifdef FEAT_GUI
  37. !         && !gui.starting
  38. ! #endif
  39. !        )
  40.           command_height(old_value);
  41.       }
  42.   
  43. *** ../vim-6.2.521/src/version.c    Sun May  2 17:00:06 2004
  44. --- src/version.c    Mon May  3 21:19:36 2004
  45. ***************
  46. *** 639,640 ****
  47. --- 639,642 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     522,
  51.   /**/
  52.  
  53. -- 
  54. A fool learns from his mistakes, a wise man from someone elses.
  55.  
  56.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  57. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  58. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  59.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  60.