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