(w32_delete_terminal): Use terminal->name as liveness status.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Sep 2007 21:19:13 +0000 (21:19 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Sep 2007 21:19:13 +0000 (21:19 +0000)
src/w32term.c

index e8d8cee..23e2a7f 100644 (file)
@@ -6331,7 +6331,7 @@ x_delete_terminal (struct terminal *terminal)
 
   /* 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;