changeset 83168:856533c4b08f

Fix bootstrap errors. * src/term.c (get_tty_display): Don't signal an error on the initial frame. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-208
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 04 Jul 2004 05:23:30 +0000
parents 69ebc75cb461
children 243c49e23626
files src/term.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Sun Jul 04 04:48:55 2004 +0000
+++ b/src/term.c	Sun Jul 04 05:23:30 2004 +0000
@@ -2133,6 +2133,9 @@
 {
   struct display *d = get_display (display);
   
+  if (d && d->type == output_initial)
+    d = NULL;
+
   if (d && d->type != output_termcap)
     {
 #if 0   /* XXX We need a predicate as the first argument; find one. */