diff options
author | Glenn Morris <rgm@gnu.org> | 2008-04-10 07:53:50 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-04-10 07:53:50 +0000 |
commit | bee6ae9d581e3d0cebcf14ee2ec7faa0264344c9 (patch) | |
tree | 47f2d97e671156226961866475c4bfac7171c2af /src/xdisp.c | |
parent | 39d8a421cf726b966791a8b0214c790c8806074e (diff) | |
download | emacs-bee6ae9d581e3d0cebcf14ee2ec7faa0264344c9.tar.gz |
Revert changes included by mistake in previous commit.
Diffstat (limited to 'src/xdisp.c')
-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; } } |