# HG changeset patch # User Richard M. Stallman # Date 869515236 0 # Node ID 23ee59ec294be315b51d9ea89535cbb553b578ef # Parent 3cd2c58b1d6f00b0a0bfa53538f4ce0e2b178f9a (set_window_height): Allow all heights > 0 for minibuffer windows. (change_window_height): Fix one-off comparing DELTA with MAXIMUM. diff -r 3cd2c58b1d6f -r 23ee59ec294b src/window.c --- a/src/window.c Mon Jul 21 19:57:26 1997 +0000 +++ b/src/window.c Mon Jul 21 20:00:36 1997 +0000 @@ -1735,7 +1735,9 @@ if (!nodelete && ! NILP (w->parent) - && height < window_min_height) + && (MINI_WINDOW_P (w) + ? height < 1 + : height < window_min_height)) { delete_window (window); return; @@ -2608,7 +2610,7 @@ maximum += (*sizefun) (prev) - MINSIZE (prev); /* If we can get it all from them, do so. */ - if (delta < maximum) + if (delta <= maximum) { Lisp_Object first_unaffected; Lisp_Object first_affected;