diff options
author | Brandon Coleman <metrix1978@gmail.com> | 2014-05-28 16:35:14 -0500 |
---|---|---|
committer | Brandon Coleman <metrix1978@gmail.com> | 2014-06-12 01:20:36 -0500 |
commit | 7f21665673686c653389ff4e86a2ce8e17804178 (patch) | |
tree | bffd897b743ce4b1cf79ecbd4ca988821768c3a7 /src/nvim/ex_getln.c | |
parent | 7cdbca77899b8bb09c7a0a4c874c06021543c986 (diff) | |
download | rneovim-7f21665673686c653389ff4e86a2ce8e17804178.tar.gz rneovim-7f21665673686c653389ff4e86a2ce8e17804178.tar.bz2 rneovim-7f21665673686c653389ff4e86a2ce8e17804178.zip |
move/remove W_* macros
move W_ENDCOL to screen.c
remove the rest of the W_* macros
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index abb1bb4f86..0b00e458ff 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2513,8 +2513,8 @@ void compute_cmdrow(void) if (exmode_active || msg_scrolled != 0) cmdline_row = Rows - 1; else - cmdline_row = W_WINROW(lastwin) + lastwin->w_height - + W_STATUS_HEIGHT(lastwin); + cmdline_row = lastwin->w_winrow + lastwin->w_height + + lastwin->w_status_height; } static void cursorcmd(void) |