aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2005-07-07 09:36:18 +0000
committerKim F. Storm2005-07-07 09:36:18 +0000
commitf567c4887025a9df6bc2448f3de7427eddd3219e (patch)
treeade8309e4cee44bd28d1926282e84e55a3ee7e48 /src
parentae12ecd75672a2d772ec4a85a2a01dd7191793e5 (diff)
downloademacs-f567c4887025a9df6bc2448f3de7427eddd3219e.tar.gz
emacs-f567c4887025a9df6bc2448f3de7427eddd3219e.zip
(Frecenter): Remove superfluous settings of iarg.
Diffstat (limited to 'src')
-rw-r--r--src/window.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/window.c b/src/window.c
index 95898793d95..cf1142e3d06 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5453,7 +5453,6 @@ and redisplay normally--don't erase and redraw the frame. */)
5453 { 5453 {
5454 struct position pos; 5454 struct position pos;
5455 5455
5456 iarg = XINT (arg);
5457 iarg = max (iarg, this_scroll_margin); 5456 iarg = max (iarg, this_scroll_margin);
5458 5457
5459 pos = *vmotion (PT, -iarg, w); 5458 pos = *vmotion (PT, -iarg, w);
@@ -5468,10 +5467,8 @@ and redisplay normally--don't erase and redraw the frame. */)
5468 5467
5469 if (center_p) 5468 if (center_p)
5470 iarg = make_number (ht / 2); 5469 iarg = make_number (ht / 2);
5471 else if (XINT (arg) < 0) 5470 else if (iarg < 0)
5472 iarg = XINT (arg) + ht; 5471 iarg += ht;
5473 else
5474 iarg = XINT (arg);
5475 5472
5476 /* Don't let it get into the margin at either top or bottom. */ 5473 /* Don't let it get into the margin at either top or bottom. */
5477 iarg = max (iarg, this_scroll_margin); 5474 iarg = max (iarg, this_scroll_margin);