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.4 / 7.4.308 < prev    next >
Encoding:
Internet Message Format  |  2014-05-27  |  1.4 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.308
  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.4.308
  11. Problem:    When using ":diffsplit" on an empty file the cursor is displayed
  12.         on the command line.
  13. Solution:   Limit the value of w_topfill.
  14. Files:        src/diff.c
  15.  
  16.  
  17. *** ../vim-7.4.307/src/diff.c    2013-09-20 20:13:48.000000000 +0200
  18. --- src/diff.c    2014-05-28 11:30:11.724008432 +0200
  19. ***************
  20. *** 622,627 ****
  21. --- 622,628 ----
  22.               wp->w_topfill = (n < 0 ? 0 : n);
  23.           else if (n > 0 && n > wp->w_topfill)
  24.               wp->w_topfill = n;
  25. +         check_topfill(wp, FALSE);
  26.           }
  27.       }
  28.   }
  29. *** ../vim-7.4.307/src/version.c    2014-05-22 21:22:15.361995652 +0200
  30. --- src/version.c    2014-05-28 11:34:01.064010440 +0200
  31. ***************
  32. *** 736,737 ****
  33. --- 736,739 ----
  34.   {   /* Add new patch number below this line */
  35. + /**/
  36. +     308,
  37.   /**/
  38.  
  39. -- 
  40. msdn.microsoft.com:
  41. ERROR_SUCCESS 0 (0x0) The operation completed successfully.
  42. I have always suspected that for Microsoft success is an error.
  43.  
  44.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  45. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  46. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  47.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  48.