diff src/w32term.c @ 84686:e68aa34ac58f

(w32_delete_terminal): Use terminal->name as liveness status.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Sep 2007 21:19:13 +0000
parents c7b52c80ffa2
children 8556c5b11c62
line wrap: on
line diff
--- a/src/w32term.c	Thu Sep 20 21:18:47 2007 +0000
+++ b/src/w32term.c	Thu Sep 20 21:19:13 2007 +0000
@@ -6331,7 +6331,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;