comparison src/xdisp.c @ 38672:d22bb212fc40

(resize_mini_window): If Vmax_mini_window_height is a float, determine the max height from the frame's height.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 03 Aug 2001 09:55:21 +0000
parents 0bf558900e0a
children 152fbfce2115
comparison
equal deleted inserted replaced
38671:07f962cbdd4e 38672:d22bb212fc40
6545 6545
6546 init_iterator (&it, w, BEGV, BEGV_BYTE, NULL, DEFAULT_FACE_ID); 6546 init_iterator (&it, w, BEGV, BEGV_BYTE, NULL, DEFAULT_FACE_ID);
6547 6547
6548 /* Compute the max. number of lines specified by the user. */ 6548 /* Compute the max. number of lines specified by the user. */
6549 if (FLOATP (Vmax_mini_window_height)) 6549 if (FLOATP (Vmax_mini_window_height))
6550 max_height = XFLOATINT (Vmax_mini_window_height) * total_height; 6550 max_height = XFLOATINT (Vmax_mini_window_height) * FRAME_HEIGHT (f);
6551 else if (INTEGERP (Vmax_mini_window_height)) 6551 else if (INTEGERP (Vmax_mini_window_height))
6552 max_height = XINT (Vmax_mini_window_height); 6552 max_height = XINT (Vmax_mini_window_height);
6553 else 6553 else
6554 max_height = total_height / 4; 6554 max_height = total_height / 4;
6555 6555