From 7f21665673686c653389ff4e86a2ce8e17804178 Mon Sep 17 00:00:00 2001 From: Brandon Coleman Date: Wed, 28 May 2014 16:35:14 -0500 Subject: move/remove W_* macros move W_ENDCOL to screen.c remove the rest of the W_* macros --- src/nvim/term.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/nvim/term.c') diff --git a/src/nvim/term.c b/src/nvim/term.c index 34cc90620b..664d8d962b 100644 --- a/src/nvim/term.c +++ b/src/nvim/term.c @@ -2874,11 +2874,11 @@ void term_cursor_shape(void) */ void scroll_region_set(win_T *wp, int off) { - OUT_STR(tgoto((char *)T_CS, W_WINROW(wp) + wp->w_height - 1, - W_WINROW(wp) + off)); + OUT_STR(tgoto((char *)T_CS, wp->w_winrow + wp->w_height - 1, + wp->w_winrow + off)); if (*T_CSV != NUL && wp->w_width != Columns) - OUT_STR(tgoto((char *)T_CSV, W_WINCOL(wp) + wp->w_width - 1, - W_WINCOL(wp))); + OUT_STR(tgoto((char *)T_CSV, wp->w_wincol + wp->w_width - 1, + wp->w_wincol)); screen_start(); /* don't know where cursor is now */ } -- cgit