Mercurial > vim
diff src/structs.h @ 9027:773d627cac0b v7.4.1799
commit https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 29 22:59:22 2016 +0200
patch 7.4.1799
Problem: 'guicolors' is a confusing option name.
Solution: Use 'termguicolors' instead. (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Apr 2016 23:00:07 +0200 |
parents | c83e2c1e7f2b |
children | 69bb7b230094 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -85,7 +85,7 @@ typedef struct file_buffer buf_T; /* fo # 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