diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2014-06-12 20:13:52 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2014-06-12 20:13:52 -0400 |
| commit | 168575f3f73f79185db0abdb91be364c0d0f29f9 (patch) | |
| tree | c9bbf386710d6c57021e03811b2483bcd574812f /src/nvim/term.c | |
| parent | 284a38a065f6cedd37f8f7d75c1953884653503c (diff) | |
| parent | 1ff8ed7b823623e9abd224f78fbce7e20ce66f5d (diff) | |
| download | rneovim-168575f3f73f79185db0abdb91be364c0d0f29f9.tar.gz rneovim-168575f3f73f79185db0abdb91be364c0d0f29f9.tar.bz2 rneovim-168575f3f73f79185db0abdb91be364c0d0f29f9.zip | |
Merge #774 'Move defines from vim.h to other header files'
Diffstat (limited to 'src/nvim/term.c')
| -rw-r--r-- | src/nvim/term.c | 8 |
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 */ } |
