Apply patch from CVS trunk to fix recenter on ttys.
authorKaroly Lorentey <lorentey@elte.hu>
Thu, 4 Aug 2005 00:50:01 +0000 (00:50 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Thu, 4 Aug 2005 00:50:01 +0000 (00:50 +0000)
* src/window.c (window_internal_height): Remove bogus make_number call.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-391

src/window.c

index a55043a..c0cf06d 100644 (file)
@@ -5468,7 +5468,7 @@ and redisplay normally--don't erase and redraw the frame.  */)
       int ht = window_internal_height (w);
 
       if (center_p)
-       iarg = make_number (ht / 2);
+       iarg = ht / 2;
       else if (iarg < 0)
        iarg += ht;