From f18625cd5803734170472e15f319581995c334f5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 22 Dec 2000 13:48:19 +0000 Subject: [PATCH] (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. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 2fcf4b97dcd..f2af5e3305a 100644 --- a/src/window.c +++ b/src/window.c @@ -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. */ -- 2.39.5