Commit f18625cd authored by Gerd Moellmann's avatar Gerd Moellmann

(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.
parent 27940e1f
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment