Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch 8.0.1610: cannot build without GUI
Problem:    Cannot build without GUI.
Solution:   Add #ifdef.
  • Loading branch information
brammool committed Mar 16, 2018
1 parent 1356825 commit 4ac31ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/terminal.c
Expand Up @@ -2735,6 +2735,7 @@ term_line2screenline(VTermScreen *screen, VTermPos *pos, int max_col)
}
}

#if defined(FEAT_GUI)
static void
update_system_term(term_T *term)
{
Expand Down Expand Up @@ -2777,6 +2778,7 @@ update_system_term(term_T *term)
term->tl_dirty_row_end = 0;
update_cursor(term, TRUE);
}
#endif

/*
* Called to update a window that contains an active terminal.
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -766,6 +766,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1610,
/**/
1609,
/**/
Expand Down

0 comments on commit 4ac31ee

Please sign in to comment.