diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-24 16:24:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-24 16:24:34 +0200 |
commit | e0de17d84e1612dbc9362989194de5674f221de5 (patch) | |
tree | 5fb945466e99a3d5ebc418a2e61e333f9c1a5905 /src/screen.c | |
parent | 378daf87d380b9f3c4f822786dfbfdcad9ca2db9 (diff) | |
download | vim-git-e0de17d84e1612dbc9362989194de5674f221de5.tar.gz |
patch 8.0.1143: macros always expand to the same thingv8.0.1143
Problem: Macros always expand to the same thing.
Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c index 13b6a0632..e505d941f 100644 --- a/src/screen.c +++ b/src/screen.c @@ -622,8 +622,8 @@ update_screen(int type_arg) else { wp->w_redr_type = NOT_VALID; - if (W_WINROW(wp) + wp->w_height + W_STATUS_HEIGHT(wp) - <= msg_scrolled) + if (W_WINROW(wp) + wp->w_height + wp->w_status_height + <= msg_scrolled) wp->w_redr_status = TRUE; } } @@ -9490,7 +9490,7 @@ win_ins_lines( { wp->w_redr_status = TRUE; redraw_cmdline = TRUE; - nextrow = W_WINROW(wp) + wp->w_height + W_STATUS_HEIGHT(wp); + nextrow = W_WINROW(wp) + wp->w_height + wp->w_status_height; lastrow = nextrow + line_count; if (lastrow > Rows) lastrow = Rows; |