aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-22 13:48:19 +0000
committerGerd Moellmann2000-12-22 13:48:19 +0000
commitf18625cd5803734170472e15f319581995c334f5 (patch)
treed71486846c159eb724b4638da5fbcb22e76740d5 /src
parent27940e1f01b319ffc95fae4bbafa8cd4d638f2b5 (diff)
downloademacs-f18625cd5803734170472e15f319581995c334f5.tar.gz
emacs-f18625cd5803734170472e15f319581995c334f5.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
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)
2404 min_size = window_min_height; 2404 min_size = window_min_height;
2405 } 2405 }
2406 2406
2407 if (old_size < window_min_width) 2407 if (old_size < min_size)
2408 w->too_small_ok = Qt; 2408 w->too_small_ok = Qt;
2409 2409
2410 /* Maybe delete WINDOW if it's too small. */ 2410 /* Maybe delete WINDOW if it's too small. */