diff options
author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2022-03-27 20:05:17 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-27 20:05:17 +0100 |
commit | 9dac9b1751dd43c02470cc6a2aecaeea27abcc80 (patch) | |
tree | b4f2ed0cd629c7773bbb6fee0ed6d0ec59e8eeaf /src/gui.h | |
parent | 3e559cd88486ffab6b6fb4e0921b4600d137a617 (diff) | |
download | vim-git-9dac9b1751dd43c02470cc6a2aecaeea27abcc80.tar.gz |
patch 8.2.4639: not sufficient parenthesis in preprocessor macros
Problem: Not sufficient parenthesis in preprocessor macros.
Solution: Add more parenthesis. (closes #10031)
Diffstat (limited to 'src/gui.h')
-rw-r--r-- | src/gui.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -100,7 +100,7 @@ #endif // Indices for arrays of scrollbars -#define SBAR_NONE -1 +#define SBAR_NONE (-1) #define SBAR_LEFT 0 #define SBAR_RIGHT 1 #define SBAR_BOTTOM 2 @@ -198,10 +198,10 @@ typedef struct GuiScrollbar typedef long guicolor_T; // handle for a GUI color; for X11 this should // be "Pixel", but that's an unsigned and we // need a signed value -#define INVALCOLOR (guicolor_T)-11111 // number for invalid color; on 32 bit +#define INVALCOLOR ((guicolor_T)-11111) // number for invalid color; on 32 bit // displays there is a tiny chance this is an // actual color -#define CTERMCOLOR (guicolor_T)-11110 // only used for cterm.bg_rgb and +#define CTERMCOLOR ((guicolor_T)-11110) // only used for cterm.bg_rgb and // cterm.fg_rgb: use cterm color #ifdef FEAT_GUI_GTK |