Mercurial > vim
comparison src/window.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 | b5ebc885c25c |
children | afbe86e8b24a |
comparison
equal
deleted
inserted
replaced
27751:c9330d10419b | 27752:c1d1639b52dd |
---|---|
62 static int frame_check_height(frame_T *topfrp, int height); | 62 static int frame_check_height(frame_T *topfrp, int height); |
63 static int frame_check_width(frame_T *topfrp, int width); | 63 static int frame_check_width(frame_T *topfrp, int width); |
64 | 64 |
65 static win_T *win_alloc(win_T *after, int hidden); | 65 static win_T *win_alloc(win_T *after, int hidden); |
66 | 66 |
67 #define NOWIN (win_T *)-1 // non-existing window | 67 #define NOWIN ((win_T *)-1) // non-existing window |
68 | 68 |
69 #define ROWS_AVAIL (Rows - p_ch - tabline_height()) | 69 #define ROWS_AVAIL (Rows - p_ch - tabline_height()) |
70 | 70 |
71 // flags for win_enter_ext() | 71 // flags for win_enter_ext() |
72 #define WEE_UNDO_SYNC 0x01 | 72 #define WEE_UNDO_SYNC 0x01 |