diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-05-01 13:09:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-05-01 13:09:57 +0200 |
commit | 187147aedd588070d0676664d5076d046644094e (patch) | |
tree | b21c5724db3fa7d1b958ccbe13e3b4cc3b0f2736 /src/syntax.c | |
parent | 3266c85a44a637862b0ed6e531680c6ab2897ab5 (diff) | |
download | vim-git-187147aedd588070d0676664d5076d046644094e.tar.gz |
patch 7.4.1812v7.4.1812
Problem: Failure on startup with Athena and Motif.
Solution: Check for INVALCOLOR. (Kazunobu Kuriyama)
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c index 4e35a6c59..e68090db6 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -9261,8 +9261,8 @@ set_hl_attr( at_en.ae_u.cterm.fg_color = sgp->sg_cterm_fg; at_en.ae_u.cterm.bg_color = sgp->sg_cterm_bg; # ifdef FEAT_TERMGUICOLORS - at_en.ae_u.cterm.fg_rgb = GUI_MCH_GET_RGB(sgp->sg_gui_fg); - at_en.ae_u.cterm.bg_rgb = GUI_MCH_GET_RGB(sgp->sg_gui_bg); + at_en.ae_u.cterm.fg_rgb = GUI_MCH_GET_RGB2(sgp->sg_gui_fg); + at_en.ae_u.cterm.bg_rgb = GUI_MCH_GET_RGB2(sgp->sg_gui_bg); # endif sgp->sg_cterm_attr = get_attr_entry(&cterm_attr_table, &at_en); } |