diff options
-rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index a64a6b2e854..1f8b35a1d3a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12539,7 +12539,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively, { double float_amount = XFLOATINT (aggressive) * height; amount_to_scroll = float_amount; - if (amount_to_scroll == 0 && float_amount >= 0) + if (amount_to_scroll == 0 && float_amount > 0) amount_to_scroll = 1; } } @@ -12602,7 +12602,7 @@ try_scrolling (window, just_this_one_p, scroll_conservatively, { double float_amount = XFLOATINT (aggressive) * height; amount_to_scroll = float_amount; - if (amount_to_scroll == 0 && float_amount >= 0) + if (amount_to_scroll == 0 && float_amount > 0) amount_to_scroll = 1; } } |