Fix scrolling backwards on TTY frames under scroll-conservatively
* src/xdisp.c (move_it_vertically_backward): Fix off-by-one error in moving backwards on TTY frames. (Bug#21080)
This commit is contained in:
parent
8b57f12ab7
commit
d3816bf8ad
1 changed files with 1 additions and 1 deletions
|
@ -9428,7 +9428,7 @@ move_it_vertically_backward (struct it *it, int dy)
|
|||
treating terminal frames specially here. */
|
||||
|
||||
if (!FRAME_WINDOW_P (it->f))
|
||||
move_it_vertically (it, target_y - (it->current_y + line_height));
|
||||
move_it_vertically (it, target_y - it->current_y);
|
||||
else
|
||||
{
|
||||
do
|
||||
|
|
Loading…
Add table
Reference in a new issue