From 4ef65ef932041bfef43fb69b64adfc7bc71a565b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 10 Apr 2008 07:53:50 +0000 Subject: [PATCH] Revert changes included by mistake in previous commit. --- src/xdisp.c | 4 ++-- 1 file 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; } } -- 2.39.5