move/remove W_* macros

move W_ENDCOL to screen.c
remove the rest of the W_* macros
This commit is contained in:
Brandon Coleman
2014-05-28 16:35:14 -05:00
parent 7cdbca7789
commit 7f21665673
21 changed files with 176 additions and 183 deletions

View File

@@ -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)