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.0.108 < prev    next >
Encoding:
Internet Message Format  |  2001-12-30  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.108
  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.0.108
  11. Problem:    When using folding could try displaying line zero, resulting in an 
  12.             error for a NULL pointer.
  13. Solution:   Stop decrementing w_topline when the first line of a window is in
  14.             a closed fold.
  15. Files:      src/window.c
  16.  
  17.  
  18. *** ../vim60.107/src/window.c    Mon Nov  5 09:52:01 2001
  19. --- src/window.c    Sun Dec 30 22:23:22 2001
  20. ***************
  21. *** 4072,4077 ****
  22. --- 4072,4084 ----
  23.           {
  24.   #ifdef FEAT_FOLDING
  25.           hasFoldingWin(wp, lnum, &lnum, NULL, TRUE, NULL);
  26. +         if (lnum == 1)
  27. +         {
  28. +             /* first line in buffer is folded */
  29. +             line_size = 1;
  30. +             --sline;
  31. +             break;
  32. +         }
  33.   #endif
  34.           --lnum;
  35.   #ifdef FEAT_DIFF
  36. *** ../vim60.107/src/version.c    Sun Dec 30 22:28:38 2001
  37. --- src/version.c    Sun Dec 30 22:31:03 2001
  38. ***************
  39. *** 608,609 ****
  40. --- 608,611 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     108,
  44.   /**/
  45.  
  46. -- 
  47. GOD: That is your purpose Arthur ... the Quest for the Holy Grail ...
  48.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  49.  
  50.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  51. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  52.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  53.