]> git.eshelyaron.com Git - emacs.git/commitdiff
(size_window): When setting the window's too_small_ok
authorGerd Moellmann <gerd@gnu.org>
Fri, 22 Dec 2000 13:48:19 +0000 (13:48 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 22 Dec 2000 13:48:19 +0000 (13:48 +0000)
flag, compare old size with minimum size depending on WIDTH_P,
don't compare with window_min_width.

src/window.c

index 2fcf4b97dcd92f71ba0c5c5f8fe4cfea702fa91a..f2af5e3305ac05665b7a15416cb48d96bbadc167 100644 (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.  */