changeset 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 875f30e5371e
children 502394270fc6
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;