Mercurial > vim
comparison src/gui_beval.c @ 11158:501f46f7644c v8.0.0466
patch 8.0.0466: still macros that should be all-caps
commit https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 17:23:31 2017 +0100
patch 8.0.0466: still macros that should be all-caps
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 17:30:06 +0100 |
parents | 778c10516955 |
children | 621e41f6dcc2 |
comparison
equal
deleted
inserted
replaced
11157:35a1705f4d02 | 11158:501f46f7644c |
---|---|
1052 #else | 1052 #else |
1053 GdkColor color = { 0, 0, 0, 0 }; | 1053 GdkColor color = { 0, 0, 0, 0 }; |
1054 #endif | 1054 #endif |
1055 | 1055 |
1056 /* Look up the RGB values of the SpecialKey foreground color. */ | 1056 /* Look up the RGB values of the SpecialKey foreground color. */ |
1057 aep = syn_gui_attr2entry(hl_attr(HLF_8)); | 1057 aep = syn_gui_attr2entry(HL_ATTR(HLF_8)); |
1058 pixel = (aep != NULL) ? aep->ae_u.gui.fg_color : INVALCOLOR; | 1058 pixel = (aep != NULL) ? aep->ae_u.gui.fg_color : INVALCOLOR; |
1059 if (pixel != INVALCOLOR) | 1059 if (pixel != INVALCOLOR) |
1060 # if GTK_CHECK_VERSION(3,0,0) | 1060 # if GTK_CHECK_VERSION(3,0,0) |
1061 { | 1061 { |
1062 color.red = ((pixel & 0xff0000) >> 16) / 255.0; | 1062 color.red = ((pixel & 0xff0000) >> 16) / 255.0; |