1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

(size_window): When setting the window's too_small_ok

flag, compare old size with minimum size depending on WIDTH_P,
don't compare with window_min_width.
This commit is contained in:
Gerd Moellmann 2000-12-22 13:48:19 +00:00
parent 27940e1f01
commit f18625cd58

View File

@ -2404,7 +2404,7 @@ size_window (window, size, width_p, nodelete_p)
min_size = window_min_height;
}
if (old_size < window_min_width)
if (old_size < min_size)
w->too_small_ok = Qt;
/* Maybe delete WINDOW if it's too small. */