Mercurial > emacs
changeset 3765:bde2da377085
* window.c (check_frame_size): Allow minibuffer-only frames to be
one line high.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Wed, 16 Jun 1993 21:26:47 +0000 |
parents | d965878f294f |
children | d423b5ec9091 |
files | src/window.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Wed Jun 16 21:24:11 1993 +0000 +++ b/src/window.c Wed Jun 16 21:26:47 1993 +0000 @@ -1376,9 +1376,8 @@ /* For height, we have to see whether the frame has a minibuffer, and whether it wants a mode line. */ int min_height = - ((FRAME_MINIBUF_ONLY_P (frame) - || ! FRAME_HAS_MINIBUF_P (frame)) - ? MIN_SAFE_WINDOW_HEIGHT + (FRAME_MINIBUF_ONLY_P (frame) ? MIN_SAFE_WINDOW_HEIGHT - 1 + : (! FRAME_HAS_MINIBUF_P (frame)) ? MIN_SAFE_WINDOW_HEIGHT : 2 * MIN_SAFE_WINDOW_HEIGHT - 1); if (*rows < min_height)