comparison src/normal.c @ 27752:c1d1639b52dd v8.2.4402

patch 8.2.4402: missing parenthesis may cause unexpected problems Commit: https://github.com/vim/vim/commit/ae6f1d8b14c2f63811ee83ef14e32086fb3e9b83 Author: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Wed Feb 16 19:24:07 2022 +0000 patch 8.2.4402: missing parenthesis may cause unexpected problems Problem: Missing parenthesis may cause unexpected problems. Solution: Add more parenthesis is macros. (closes https://github.com/vim/vim/issues/9788)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Feb 2022 20:30:03 +0100
parents fb4c30606b4a
children 7976d709c963
comparison
equal deleted inserted replaced
27751:c9330d10419b 27752:c1d1639b52dd
1561 #if defined(FEAT_CMDL_INFO) || defined(PROTO) 1561 #if defined(FEAT_CMDL_INFO) || defined(PROTO)
1562 /* 1562 /*
1563 * Routines for displaying a partly typed command 1563 * Routines for displaying a partly typed command
1564 */ 1564 */
1565 1565
1566 #define SHOWCMD_BUFLEN SHOWCMD_COLS + 1 + 30 1566 #define SHOWCMD_BUFLEN (SHOWCMD_COLS + 1 + 30)
1567 static char_u showcmd_buf[SHOWCMD_BUFLEN]; 1567 static char_u showcmd_buf[SHOWCMD_BUFLEN];
1568 static char_u old_showcmd_buf[SHOWCMD_BUFLEN]; // For push_showcmd() 1568 static char_u old_showcmd_buf[SHOWCMD_BUFLEN]; // For push_showcmd()
1569 static int showcmd_is_clear = TRUE; 1569 static int showcmd_is_clear = TRUE;
1570 static int showcmd_visual = FALSE; 1570 static int showcmd_visual = FALSE;
1571 1571