summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-29 22:59:22 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-29 22:59:22 +0200
commit61be73bb0f965a895bfb064ea3e55476ac175162 (patch)
tree1e8383f05effc05a320c2e803ff6f2b431c2507c /src/structs.h
parentbb82762907ba024717ad9af3b229c2fa6405cd36 (diff)
patch 7.4.1799v7.4.1799
Problem: 'guicolors' is a confusing option name. Solution: Use 'termguicolors' instead. (Hirohito Higashi)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h
index 1775256996..50901acd57 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -85,7 +85,7 @@ typedef struct file_buffer buf_T; /* forward declaration */
# include <X11/Intrinsic.h>
# endif
# define guicolor_T long_u /* avoid error in prototypes and
- * make FEAT_TERMTRUECOLOR work */
+ * make FEAT_TERMGUICOLORS work */
# define INVALCOLOR ((guicolor_T)0x1ffffff)
#endif
@@ -913,7 +913,7 @@ typedef struct attr_entry
/* These colors need to be > 8 bits to hold 256. */
short_u fg_color; /* foreground color number */
short_u bg_color; /* background color number */
-# ifdef FEAT_TERMTRUECOLOR
+# ifdef FEAT_TERMGUICOLORS
long_u fg_rgb; /* foreground color RGB */
long_u bg_rgb; /* background color RGB */
# endif