0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.0.1603: cannot build with +terminal but without +menu

Problem:    Cannot build with +terminal but without +menu.
Solution:   Add #ifdef. (Damien)
This commit is contained in:
Bram Moolenaar 2018-03-13 13:14:00 +01:00
parent 625f0c1eb7
commit f118d4847e
2 changed files with 7 additions and 2 deletions

View File

@ -2738,8 +2738,11 @@ term_update_window(win_T *wp)
else else
pos.col = 0; pos.col = 0;
screen_line(wp->w_winrow + pos.row + winbar_height(wp), screen_line(wp->w_winrow + pos.row
wp->w_wincol, pos.col, wp->w_width, FALSE); #ifdef FEAT_MENU
+ winbar_height(wp)
#endif
, wp->w_wincol, pos.col, wp->w_width, FALSE);
} }
term->tl_dirty_row_start = MAX_ROW; term->tl_dirty_row_start = MAX_ROW;
term->tl_dirty_row_end = 0; term->tl_dirty_row_end = 0;

View File

@ -766,6 +766,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 */
/**/
1603,
/**/ /**/
1602, 1602,
/**/ /**/