# HG changeset patch # User Stefan Monnier # Date 1190323287 0 # Node ID 7abdec20dc91c5c5f4ee6d8ce2c41766c7882d13 # Parent 4d9f30b2006789772acffa4657c26f6438ecfe9e (make_terminal_frame): Use terminal->name as liveness status. diff -r 4d9f30b20067 -r 7abdec20dc91 src/frame.c --- 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);