Skip to content

Commit 4ac31ee

Browse files
committed
patch 8.0.1610: cannot build without GUI
Problem: Cannot build without GUI. Solution: Add #ifdef.
1 parent 1356825 commit 4ac31ee

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/terminal.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2735,6 +2735,7 @@ term_line2screenline(VTermScreen *screen, VTermPos *pos, int max_col)
27352735
}
27362736
}
27372737

2738+
#if defined(FEAT_GUI)
27382739
static void
27392740
update_system_term(term_T *term)
27402741
{
@@ -2777,6 +2778,7 @@ update_system_term(term_T *term)
27772778
term->tl_dirty_row_end = 0;
27782779
update_cursor(term, TRUE);
27792780
}
2781+
#endif
27802782

27812783
/*
27822784
* Called to update a window that contains an active terminal.

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+
1610,
769771
/**/
770772
1609,
771773
/**/

0 commit comments

Comments
 (0)