changeset 34831:5a5be14316ae

(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.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 22 Dec 2000 13:48:19 +0000
parents 67390da4022e
children 02fc33c28963
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Fri Dec 22 13:18:44 2000 +0000
+++ b/src/window.c	Fri Dec 22 13:48:19 2000 +0000
@@ -2404,7 +2404,7 @@
       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.  */