diff src/xterm.c @ 29536:4def8a9e785a

* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to access the data it doesn't point to.
author Ken Raeburn <raeburn@raeburn.org>
date Fri, 09 Jun 2000 16:13:11 +0000
parents e222720769a0
children a377acd06ea8
line wrap: on
line diff
--- a/src/xterm.c	Fri Jun 09 14:19:34 2000 +0000
+++ b/src/xterm.c	Fri Jun 09 16:13:11 2000 +0000
@@ -10799,7 +10799,8 @@
 #endif
 #endif
 
-  dpyinfo->display = 0;
+  if (dpyinfo)
+    dpyinfo->display = 0;
 
   /* First delete frames whose mini-buffers are on frames
      that are on the dead display.  */