Skip to content

Commit

Permalink
patch 8.0.1175: build failure without +termresponse
Browse files Browse the repository at this point in the history
Problem:    Build failure without +termresponse.
Solution:   Add #ifdef.
  • Loading branch information
brammool committed Oct 4, 2017
1 parent a0a6f27 commit c902609
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/syntax.c
Expand Up @@ -7350,10 +7350,12 @@ lookup_color(int idx, int foreground, int *boldp)
else else
color = color_numbers_8[idx]; color = color_numbers_8[idx];
} }
#ifdef FEAT_TERMRESPONSE
if (t_colors >= 256 && color == 15 && is_mac_terminal) if (t_colors >= 256 && color == 15 && is_mac_terminal)
/* Terminal.app has a bug: 15 is light grey. Use white /* Terminal.app has a bug: 15 is light grey. Use white
* from the color cube instead. */ * from the color cube instead. */
color = 231; color = 231;
#endif
} }
return color; return color;
} }
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,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 */
/**/
1175,
/**/ /**/
1174, 1174,
/**/ /**/
Expand Down

0 comments on commit c902609

Please sign in to comment.