diff options
author | Brian Leung <leungbk@posteo.net> | 2022-04-03 02:36:01 -0700 |
---|---|---|
committer | Brian Leung <leungbk@posteo.net> | 2022-04-03 16:11:23 -0700 |
commit | 69e11b58b4db0952f11a5ff85aa7150b5f5b8db8 (patch) | |
tree | 2c10f1348a50480eacf10a003c49e6f16a5f8049 /src/nvim/screen.c | |
parent | 271bb32855853b011fceaf0ad2f829bce66b2a19 (diff) | |
download | rneovim-69e11b58b4db0952f11a5ff85aa7150b5f5b8db8.tar.gz rneovim-69e11b58b4db0952f11a5ff85aa7150b5f5b8db8.tar.bz2 rneovim-69e11b58b4db0952f11a5ff85aa7150b5f5b8db8.zip |
vim-patch:8.2.4402: missing parenthesis may cause unexpected problems
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros.
https://github.com/vim/vim/commit/ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index f922a50260..baeb2fcb03 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -2119,13 +2119,13 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool noc // draw_state: items that are drawn in sequence: #define WL_START 0 // nothing done yet -#define WL_CMDLINE WL_START + 1 // cmdline window column -#define WL_FOLD WL_CMDLINE + 1 // 'foldcolumn' -#define WL_SIGN WL_FOLD + 1 // column for signs -#define WL_NR WL_SIGN + 1 // line number -#define WL_BRI WL_NR + 1 // 'breakindent' -#define WL_SBR WL_BRI + 1 // 'showbreak' or 'diff' -#define WL_LINE WL_SBR + 1 // text in the line +#define WL_CMDLINE (WL_START + 1) // cmdline window column +#define WL_FOLD (WL_CMDLINE + 1) // 'foldcolumn' +#define WL_SIGN (WL_FOLD + 1) // column for signs +#define WL_NR (WL_SIGN + 1) // line number +#define WL_BRI (WL_NR + 1) // 'breakindent' +#define WL_SBR (WL_BRI + 1) // 'showbreak' or 'diff' +#define WL_LINE (WL_SBR + 1) // text in the line int draw_state = WL_START; // what to draw next int syntax_flags = 0; |