forked from aniani/vim
patch 8.0.1135: W_WINCOL() is always the same
Problem: W_WINCOL() is always the same. Solution: Expand the macro.
This commit is contained in:
@@ -3816,8 +3816,8 @@ 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));
|
||||
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 */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user