1
0
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:
Bram Moolenaar
2014-08-30 13:32:06 +02:00
parent c40bdee42a
commit 84d8cdd769
2 changed files with 4 additions and 0 deletions

View File

@@ -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

View File

@@ -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,
/**/ /**/