window is already smaller than the nominal mininum height.
+2001-10-31 Gerd Moellmann <gerd@gnu.org>
+
+ * window.c (grow_mini_window): Handle case that the root
+ window is already smaller than the nominal mininum height.
+
2001-10-31 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
* keyboard.c (Freset_this_command_lengths): Doc fix.
{
int min_height = window_min_size (root, 0, 0, 0);
if (XFASTINT (root->height) - delta < min_height)
- delta = XFASTINT (root->height) - min_height;
+ /* Note that the roor window may already be smaller than
+ min_height. */
+ delta = max (0, XFASTINT (root->height) - min_height);
}
if (delta)