|
|
073263 |
To: vim_dev@googlegroups.com
|
|
|
073263 |
Subject: Patch 7.4.308
|
|
|
073263 |
Fcc: outbox
|
|
|
073263 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
073263 |
Mime-Version: 1.0
|
|
|
073263 |
Content-Type: text/plain; charset=UTF-8
|
|
|
073263 |
Content-Transfer-Encoding: 8bit
|
|
|
073263 |
------------
|
|
|
073263 |
|
|
|
073263 |
Patch 7.4.308
|
|
|
073263 |
Problem: When using ":diffsplit" on an empty file the cursor is displayed
|
|
|
073263 |
on the command line.
|
|
|
073263 |
Solution: Limit the value of w_topfill.
|
|
|
073263 |
Files: src/diff.c
|
|
|
073263 |
|
|
|
073263 |
|
|
|
073263 |
*** ../vim-7.4.307/src/diff.c 2013-09-20 20:13:48.000000000 +0200
|
|
|
073263 |
--- src/diff.c 2014-05-28 11:30:11.724008432 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 622,627 ****
|
|
|
073263 |
--- 622,628 ----
|
|
|
073263 |
wp->w_topfill = (n < 0 ? 0 : n);
|
|
|
073263 |
else if (n > 0 && n > wp->w_topfill)
|
|
|
073263 |
wp->w_topfill = n;
|
|
|
073263 |
+ check_topfill(wp, FALSE);
|
|
|
073263 |
}
|
|
|
073263 |
}
|
|
|
073263 |
}
|
|
|
073263 |
*** ../vim-7.4.307/src/version.c 2014-05-22 21:22:15.361995652 +0200
|
|
|
073263 |
--- src/version.c 2014-05-28 11:34:01.064010440 +0200
|
|
|
073263 |
***************
|
|
|
073263 |
*** 736,737 ****
|
|
|
073263 |
--- 736,739 ----
|
|
|
073263 |
{ /* Add new patch number below this line */
|
|
|
073263 |
+ /**/
|
|
|
073263 |
+ 308,
|
|
|
073263 |
/**/
|
|
|
073263 |
|
|
|
073263 |
--
|
|
|
073263 |
msdn.microsoft.com:
|
|
|
073263 |
ERROR_SUCCESS 0 (0x0) The operation completed successfully.
|
|
|
073263 |
I have always suspected that for Microsoft success is an error.
|
|
|
073263 |
|
|
|
073263 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
073263 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
073263 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
073263 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|