diff src/ex_getln.c @ 12529:158917d728b4 v8.0.1143

patch 8.0.1143: macros always expand to the same thing commit https://github.com/vim/vim/commit/e0de17d84e1612dbc9362989194de5674f221de5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 24 16:24:34 2017 +0200 patch 8.0.1143: macros always expand to the same thing Problem: Macros always expand to the same thing. Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Sep 2017 16:30:04 +0200
parents 68d7bc045dbe
children 0a9dacb8826a
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -3438,7 +3438,7 @@ compute_cmdrow(void)
 	cmdline_row = Rows - 1;
     else
 	cmdline_row = W_WINROW(lastwin) + lastwin->w_height
-						   + W_STATUS_HEIGHT(lastwin);
+						    + lastwin->w_status_height;
 }
 
     static void