diff src/frame.c @ 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 3dfbf778e937
children 46029aa75461
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);