changeset 6982:5137d3777e4a

(set_window_width): Don't delete root window for being too narrow.
author Richard M. Stallman <rms@gnu.org>
date Wed, 20 Apr 1994 07:27:20 +0000
parents 9d977a1a7147
children b18e5c09d7c3
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Wed Apr 20 06:19:14 1994 +0000
+++ b/src/window.c	Wed Apr 20 07:27:20 1994 +0000
@@ -1534,7 +1534,7 @@
   int left, pos, lastright, opos, lastoright;
   Lisp_Object child;
 
-  if (!nodelete && width < window_min_width)
+  if (!nodelete && width < window_min_width && !NILP (w->parent))
     {
       Fdelete_window (window);
       return;