|
Karsten Hopp |
ab940f |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
ab940f |
Subject: Patch 7.4.185
|
|
Karsten Hopp |
ab940f |
Fcc: outbox
|
|
Karsten Hopp |
ab940f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
ab940f |
Mime-Version: 1.0
|
|
Karsten Hopp |
ab940f |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
ab940f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
ab940f |
------------
|
|
Karsten Hopp |
ab940f |
|
|
Karsten Hopp |
ab940f |
Patch 7.4.185
|
|
Karsten Hopp |
ab940f |
Problem: Clang gives warnings.
|
|
Karsten Hopp |
ab940f |
Solution: Adjust how bigness is set. (Dominique Pelle)
|
|
Karsten Hopp |
ab940f |
Files: src/ex_cmds.c
|
|
Karsten Hopp |
ab940f |
|
|
Karsten Hopp |
ab940f |
|
|
Karsten Hopp |
ab940f |
*** ../vim-7.4.184/src/ex_cmds.c 2014-02-11 12:15:39.781950970 +0100
|
|
Karsten Hopp |
ab940f |
--- src/ex_cmds.c 2014-02-22 22:25:45.800904843 +0100
|
|
Karsten Hopp |
ab940f |
***************
|
|
Karsten Hopp |
ab940f |
*** 4099,4110 ****
|
|
Karsten Hopp |
ab940f |
* 'scroll' */
|
|
Karsten Hopp |
ab940f |
if (eap->forceit)
|
|
Karsten Hopp |
ab940f |
bigness = curwin->w_height;
|
|
Karsten Hopp |
ab940f |
- else if (firstwin == lastwin)
|
|
Karsten Hopp |
ab940f |
- bigness = curwin->w_p_scr * 2;
|
|
Karsten Hopp |
ab940f |
#ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
ab940f |
! else
|
|
Karsten Hopp |
ab940f |
bigness = curwin->w_height - 3;
|
|
Karsten Hopp |
ab940f |
#endif
|
|
Karsten Hopp |
ab940f |
if (bigness < 1)
|
|
Karsten Hopp |
ab940f |
bigness = 1;
|
|
Karsten Hopp |
ab940f |
|
|
Karsten Hopp |
ab940f |
--- 4099,4110 ----
|
|
Karsten Hopp |
ab940f |
* 'scroll' */
|
|
Karsten Hopp |
ab940f |
if (eap->forceit)
|
|
Karsten Hopp |
ab940f |
bigness = curwin->w_height;
|
|
Karsten Hopp |
ab940f |
#ifdef FEAT_WINDOWS
|
|
Karsten Hopp |
ab940f |
! else if (firstwin != lastwin)
|
|
Karsten Hopp |
ab940f |
bigness = curwin->w_height - 3;
|
|
Karsten Hopp |
ab940f |
#endif
|
|
Karsten Hopp |
ab940f |
+ else
|
|
Karsten Hopp |
ab940f |
+ bigness = curwin->w_p_scr * 2;
|
|
Karsten Hopp |
ab940f |
if (bigness < 1)
|
|
Karsten Hopp |
ab940f |
bigness = 1;
|
|
Karsten Hopp |
ab940f |
|
|
Karsten Hopp |
ab940f |
*** ../vim-7.4.184/src/version.c 2014-02-22 22:18:39.536905522 +0100
|
|
Karsten Hopp |
ab940f |
--- src/version.c 2014-02-22 22:22:51.912905120 +0100
|
|
Karsten Hopp |
ab940f |
***************
|
|
Karsten Hopp |
ab940f |
*** 740,741 ****
|
|
Karsten Hopp |
ab940f |
--- 740,743 ----
|
|
Karsten Hopp |
ab940f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
ab940f |
+ /**/
|
|
Karsten Hopp |
ab940f |
+ 185,
|
|
Karsten Hopp |
ab940f |
/**/
|
|
Karsten Hopp |
ab940f |
|
|
Karsten Hopp |
ab940f |
--
|
|
Karsten Hopp |
ab940f |
There are 2 kinds of people in my world: those who know Unix, Perl, Vim, GNU,
|
|
Karsten Hopp |
ab940f |
Linux, etc, and those who know COBOL. It gets very difficult for me at
|
|
Karsten Hopp |
ab940f |
parties, not knowing which group to socialise with :-)
|
|
Karsten Hopp |
ab940f |
Sitaram Chamarty
|
|
Karsten Hopp |
ab940f |
|
|
Karsten Hopp |
ab940f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
ab940f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
ab940f |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
ab940f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|