Skip to content

Commit f118d48

Browse files
committed
patch 8.0.1603: cannot build with +terminal but without +menu
Problem: Cannot build with +terminal but without +menu. Solution: Add #ifdef. (Damien)
1 parent 625f0c1 commit f118d48

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/terminal.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2738,8 +2738,11 @@ term_update_window(win_T *wp)
27382738
else
27392739
pos.col = 0;
27402740

2741-
screen_line(wp->w_winrow + pos.row + winbar_height(wp),
2742-
wp->w_wincol, pos.col, wp->w_width, FALSE);
2741+
screen_line(wp->w_winrow + pos.row
2742+
#ifdef FEAT_MENU
2743+
+ winbar_height(wp)
2744+
#endif
2745+
, wp->w_wincol, pos.col, wp->w_width, FALSE);
27432746
}
27442747
term->tl_dirty_row_start = MAX_ROW;
27452748
term->tl_dirty_row_end = 0;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,8 @@ static char *(features[]) =
766766

767767
static int included_patches[] =
768768
{ /* Add new patch number below this line */
769+
/**/
770+
1603,
769771
/**/
770772
1602,
771773
/**/

0 commit comments

Comments
 (0)