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 d4eaa72f579..039e955efd0 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -4796,8 +4796,8 @@ window_scroll_pixel_based (window, n, whole, noerror) | |||
| 4796 | possibility of point becoming "stuck" on a tall line when | 4796 | possibility of point becoming "stuck" on a tall line when |
| 4797 | scrolling by one line. */ | 4797 | scrolling by one line. */ |
| 4798 | if (window_scroll_pixel_based_preserve_y < 0 | 4798 | if (window_scroll_pixel_based_preserve_y < 0 |
| 4799 | || (current_kboard->Vlast_command != Qscroll_up | 4799 | || (!EQ (current_kboard->Vlast_command, Qscroll_up) |
| 4800 | && current_kboard->Vlast_command != Qscroll_down)) | 4800 | && !EQ (current_kboard->Vlast_command, Qscroll_down))) |
| 4801 | { | 4801 | { |
| 4802 | start_display (&it, w, start); | 4802 | start_display (&it, w, start); |
| 4803 | move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); | 4803 | move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS); |