diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-04 07:54:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 07:54:34 +0800 |
commit | 4e0a825262ffb2857def79fe1db5c7830c484b5b (patch) | |
tree | 363e9a7044ab99000c9efeefe026d467f4ab3512 /src/nvim/normal.c | |
parent | a93b55273f76e5fe23f614e691536435999f4452 (diff) | |
parent | 33909b65640a9884f7716bb2d6d73cb75931135b (diff) | |
download | rneovim-4e0a825262ffb2857def79fe1db5c7830c484b5b.tar.gz rneovim-4e0a825262ffb2857def79fe1db5c7830c484b5b.tar.bz2 rneovim-4e0a825262ffb2857def79fe1db5c7830c484b5b.zip |
Merge pull request #17987 from leungbk/vim-patch-4402
vim-patch:8.2.{4639,4402}: missing parenthesis may cause unexpected problems
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 8332b8bbd6..5e46bd468d 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -2616,7 +2616,7 @@ void may_clear_cmdline(void) } // Routines for displaying a partly typed command -#define SHOWCMD_BUFLEN SHOWCMD_COLS + 1 + 30 +#define SHOWCMD_BUFLEN (SHOWCMD_COLS + 1 + 30) static char_u showcmd_buf[SHOWCMD_BUFLEN]; static char_u old_showcmd_buf[SHOWCMD_BUFLEN]; // For push_showcmd() static bool showcmd_is_clear = true; |