(window_scroll_line_based): Let compute_motion
calculate actual window width.
This commit is contained in:
parent
361f14bf11
commit
ec2b66c4c2
1 changed files with 1 additions and 1 deletions
|
@ -4707,7 +4707,7 @@ window_scroll_line_based (window, n, whole, noerror)
|
|||
|
||||
posit = *compute_motion (startpos, 0, 0, 0,
|
||||
PT, ht, 0,
|
||||
window_box_text_cols (w), XINT (w->hscroll),
|
||||
-1, XINT (w->hscroll),
|
||||
0, w);
|
||||
original_vpos = posit.vpos;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue