diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 23a4eb98e4b..cbfc7e02401 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -4798,8 +4798,8 @@ window_scroll_pixel_based (window, n, whole, noerror) | |||
| 4798 | possibility of point becoming "stuck" on a tall line when | 4798 | possibility of point becoming "stuck" on a tall line when |
| 4799 | scrolling by one line. */ | 4799 | scrolling by one line. */ |
| 4800 | if (window_scroll_pixel_based_preserve_y < 0 | 4800 | if (window_scroll_pixel_based_preserve_y < 0 |
| 4801 | || (current_kboard->Vlast_command != Qscroll_up | 4801 | || (!EQ (current_kboard->Vlast_command, Qscroll_up) |
| 4802 | && current_kboard->Vlast_command != Qscroll_down)) | 4802 | && !EQ (current_kboard->Vlast_command, Qscroll_down))) |
| 4803 | { | 4803 | { |
| 4804 | start_display (&it, w, start); | 4804 | start_display (&it, w, start); |
| 4805 | move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); | 4805 | move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); |