summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-04-10 07:53:50 +0000
committerGlenn Morris <rgm@gnu.org>2008-04-10 07:53:50 +0000
commitbee6ae9d581e3d0cebcf14ee2ec7faa0264344c9 (patch)
tree47f2d97e671156226961866475c4bfac7171c2af /src/xdisp.c
parent39d8a421cf726b966791a8b0214c790c8806074e (diff)
downloademacs-bee6ae9d581e3d0cebcf14ee2ec7faa0264344c9.tar.gz
Revert changes included by mistake in previous commit.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c4
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;
}
}