comparison src/window.c @ 64236:667d6d6c7fd9

(Frecenter): Yet another int/Lisp_Object mixup (YAILOM).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 11 Jul 2005 21:43:10 +0000
parents 0fcb7f3236c9
children cc42e18c8870 fbb2bea03df9
comparison
equal deleted inserted replaced
64235:36ba51a2e388 64236:667d6d6c7fd9
5464 { 5464 {
5465 struct position pos; 5465 struct position pos;
5466 int ht = window_internal_height (w); 5466 int ht = window_internal_height (w);
5467 5467
5468 if (center_p) 5468 if (center_p)
5469 iarg = make_number (ht / 2); 5469 iarg = ht / 2;
5470 else if (iarg < 0) 5470 else if (iarg < 0)
5471 iarg += ht; 5471 iarg += ht;
5472 5472
5473 /* 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. */
5474 iarg = max (iarg, this_scroll_margin); 5474 iarg = max (iarg, this_scroll_margin);