# HG changeset patch # User Christian Brabandt # Date 1462012205 -7200 # Node ID f06767547415c16a3a31260d1d9c589954141f22 # Parent 3d7c7270167f668e3b17c94ae8e049413d90cdba commit https://github.com/vim/vim/commit/631225627d448b591e529a5d3e7ac74ef44b8459 Author: Bram Moolenaar Date: Sat Apr 30 12:28:15 2016 +0200 patch 7.4.1800 Problem: Unnecessary #ifdef. Solution: Just use USE_24BIT. (Ken Takata) diff --git a/src/syntax.c b/src/syntax.c --- a/src/syntax.c +++ b/src/syntax.c @@ -7795,13 +7795,7 @@ do_highlight( # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) /* In GUI guifg colors are only used when recognized */ i = color_name2handle(arg); - if (i != INVALCOLOR || STRCMP(arg, "NONE") == 0 -# ifdef FEAT_GUI - || !(USE_24BIT) -# else - || !p_tgc -# endif - ) + if (i != INVALCOLOR || STRCMP(arg, "NONE") == 0 || !USE_24BIT) { HL_TABLE()[idx].sg_gui_fg = i; # endif diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1800, +/**/ 1799, /**/ 1798,