mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
vim-patch:8.2.4402: missing parenthesis may cause unexpected problems
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros.
ae6f1d8b14
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user