aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/term.c
diff options
context:
space:
mode:
authorBrandon Coleman <metrix1978@gmail.com>2014-05-28 16:35:14 -0500
committerBrandon Coleman <metrix1978@gmail.com>2014-06-12 01:20:36 -0500
commit7f21665673686c653389ff4e86a2ce8e17804178 (patch)
treebffd897b743ce4b1cf79ecbd4ca988821768c3a7 /src/nvim/term.c
parent7cdbca77899b8bb09c7a0a4c874c06021543c986 (diff)
downloadrneovim-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/term.c')
-rw-r--r--src/nvim/term.c8
1 files changed, 4 insertions, 4 deletions
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 */
}