diff src/xterm.c @ 84684:14682d9a9d3c

(x_delete_terminal): Use terminal->name as liveness status.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Sep 2007 21:18:23 +0000
parents 4236d6c01713
children be652865dc4d
line wrap: on
line diff
--- a/src/xterm.c	Thu Sep 20 21:16:26 2007 +0000
+++ b/src/xterm.c	Thu Sep 20 21:18:23 2007 +0000
@@ -11311,7 +11311,7 @@
 
   /* Protect against recursive calls.  Fdelete_frame in
      delete_terminal calls us back when it deletes our last frame.  */
-  if (terminal->deleted)
+  if (!terminal->name)
     return;
 
   BLOCK_INPUT;