diff options
| author | Eli Zaretskii | 2015-07-18 13:02:06 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-07-18 13:02:06 +0300 |
| commit | d3816bf8ad1fcfed2a32d23216a55850ee4325b5 (patch) | |
| tree | f0538be853eea3528a7502d3fda6adff9b5f2a6e /src | |
| parent | 8b57f12ab798fd231bf05fd800ccf5e6c544e560 (diff) | |
| download | emacs-d3816bf8ad1fcfed2a32d23216a55850ee4325b5.tar.gz emacs-d3816bf8ad1fcfed2a32d23216a55850ee4325b5.zip | |
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)
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 5bef44c6e51..16a7a64c89b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -9428,7 +9428,7 @@ move_it_vertically_backward (struct it *it, int dy) | |||
| 9428 | treating terminal frames specially here. */ | 9428 | treating terminal frames specially here. */ |
| 9429 | 9429 | ||
| 9430 | if (!FRAME_WINDOW_P (it->f)) | 9430 | if (!FRAME_WINDOW_P (it->f)) |
| 9431 | move_it_vertically (it, target_y - (it->current_y + line_height)); | 9431 | move_it_vertically (it, target_y - it->current_y); |
| 9432 | else | 9432 | else |
| 9433 | { | 9433 | { |
| 9434 | do | 9434 | do |