1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

Apply patch from CVS trunk to fix recenter on ttys.

* src/window.c (window_internal_height): Remove bogus make_number call.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-391
This commit is contained in:
Karoly Lorentey 2005-08-04 00:50:01 +00:00
parent d51abf2262
commit 507633649f

View 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;