]> git.eshelyaron.com Git - emacs.git/commitdiff
* xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
authorKen Raeburn <raeburn@raeburn.org>
Fri, 9 Jun 2000 16:13:11 +0000 (16:13 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Fri, 9 Jun 2000 16:13:11 +0000 (16:13 +0000)
access the data it doesn't point to.

src/ChangeLog
src/xterm.c

index 910c24e8063b57be6081dd814f44acda5a7d2492..1b0e6bb045262918e20cb71728121a9a666d581f 100644 (file)
@@ -1,3 +1,8 @@
+2000-06-09  Ken Raeburn  <raeburn@gnu.org>
+
+       * xterm.c (x_connection_closed): If dpyinfo is NULL, don't try to
+       access the data it doesn't point to.
+
 2000-06-08  Gerd Moellmann  <gerd@gnu.org>
 
        * xterm.c (XTread_socket) <FocusIn>: Queue a FOCUS_IN_EVENT which
index eea9b76d19142500af867b3a8957366d8fdd4aa5..c2cc57a319d23710d9504c7b15fe4ebbfa1d8c14 100644 (file)
@@ -10799,7 +10799,8 @@ x_connection_closed (display, error_message)
 #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.  */