mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +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:
@@ -2573,7 +2573,7 @@ int inchar(char_u *buf, int maxlen, long wait_time)
|
||||
// Don't use buf[] here, closescript() may have freed typebuf.tb_buf[]
|
||||
// and buf may be pointing inside typebuf.tb_buf[].
|
||||
if (got_int) {
|
||||
#define DUM_LEN MAXMAPLEN * 3 + 3
|
||||
#define DUM_LEN (MAXMAPLEN * 3 + 3)
|
||||
char_u dum[DUM_LEN + 1];
|
||||
|
||||
for (;;) {
|
||||
|
Reference in New Issue
Block a user