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 / old / 5.6.005 < prev    next >
Encoding:
Internet Message Format  |  2000-01-20  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.6.005
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.6.005
  8. Problem:    When 'winminheight' is zero, CTRL-W - with a big number causes a
  9.             crash.  (David Kotchan)
  10. Solution:   Check for negative window height in win_setheight().
  11. Files:      src/window.c
  12.     
  13.  
  14. *** ../vim-5.6.4/src/window.c    Thu Jan 13 10:59:45 2000
  15. --- src/window.c    Fri Jan 21 12:58:04 2000
  16. ***************
  17. *** 1470,1476 ****
  18.       {
  19.       /* Always keep current window at least one line high, even when
  20.        * 'winminheight' is zero */
  21. !     if (height == 0)    /* need at least one line */
  22.       {
  23.           height = 1;
  24.           room = 1;
  25. --- 1470,1476 ----
  26.       {
  27.       /* Always keep current window at least one line high, even when
  28.        * 'winminheight' is zero */
  29. !     if (height <= 0)    /* need at least one line */
  30.       {
  31.           height = 1;
  32.           room = 1;
  33. *** ../vim-5.6.4/src/version.c    Fri Jan 21 12:14:46 2000
  34. --- src/version.c    Fri Jan 21 13:03:11 2000
  35. ***************
  36. *** 420,421 ****
  37. --- 420,423 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     5,
  41.   /**/
  42.  
  43. -- 
  44. ZOOT:  I'm afraid our life must seem very dull and quiet compared to yours.
  45.        We are but eightscore young blondes, all between sixteen and
  46.        nineteen-and-a-half, cut off in this castle, with no one to protect us.
  47.        Oooh.  It is a lonely life ... bathing ...  dressing ... undressing ...
  48.        making exciting underwear....
  49.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  50.  
  51. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
  52.   \ \    www.vim.org/iccf      www.moolenaar.net       www.vim.org    / /
  53.