changeset 84688:7abdec20dc91

(make_terminal_frame): Use terminal->name as liveness status.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Sep 2007 21:21:27 +0000
parents 4d9f30b20067
children 73c717fa7866
files src/frame.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Thu Sep 20 21:21:08 2007 +0000
+++ b/src/frame.c	Thu Sep 20 21:21:27 2007 +0000
@@ -563,8 +563,8 @@
   Lisp_Object frame;
   char name[20];
 
-  if (terminal->deleted)
-    error ("Terminal is being deleted, can't create new frames on it");
+  if (!terminal->name)
+    error ("Terminal is not live, can't create new frames on it");
 
   f = make_frame (1);