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

@@ -186,7 +186,7 @@ void ex_align(exarg_T *eap)
if (width <= 0)
width = curbuf->b_p_tw;
if (width == 0 && curbuf->b_p_wm > 0)
width = W_WIDTH(curwin) - curbuf->b_p_wm;
width = curwin->w_width - curbuf->b_p_wm;
if (width <= 0)
width = 80;
}