0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.4639: not sufficient parenthesis in preprocessor macros

Problem:    Not sufficient parenthesis in preprocessor macros.
Solution:   Add more parenthesis. (closes #10031)
This commit is contained in:
kylo252
2022-03-27 20:05:17 +01:00
committed by Bram Moolenaar
parent 3e559cd884
commit 9dac9b1751
11 changed files with 59 additions and 57 deletions

View File

@@ -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