forked from aniani/vim
updated for version 7.4.429
Problem: Build fails with fewer features. (Elimar Riesebieter) Solution: Add #ifdef.
This commit is contained in:
@@ -4518,8 +4518,10 @@ nv_screengo(oap, dir, dist)
|
|||||||
*/
|
*/
|
||||||
validate_virtcol();
|
validate_virtcol();
|
||||||
virtcol = curwin->w_virtcol;
|
virtcol = curwin->w_virtcol;
|
||||||
|
# if defined(FEAT_LINEBREAK)
|
||||||
if (virtcol > (colnr_T)width1 && *p_sbr != NUL)
|
if (virtcol > (colnr_T)width1 && *p_sbr != NUL)
|
||||||
virtcol -= vim_strsize(p_sbr);
|
virtcol -= vim_strsize(p_sbr);
|
||||||
|
# endif
|
||||||
|
|
||||||
if (virtcol > curwin->w_curswant
|
if (virtcol > curwin->w_curswant
|
||||||
&& (curwin->w_curswant < (colnr_T)width1
|
&& (curwin->w_curswant < (colnr_T)width1
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
429,
|
||||||
/**/
|
/**/
|
||||||
428,
|
428,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user