comparison 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
comparison
equal deleted inserted replaced
29535:5ad8090f70cb 29536:4def8a9e785a
10797 #ifdef USE_X_TOOLKIT 10797 #ifdef USE_X_TOOLKIT
10798 XtCloseDisplay (display); 10798 XtCloseDisplay (display);
10799 #endif 10799 #endif
10800 #endif 10800 #endif
10801 10801
10802 dpyinfo->display = 0; 10802 if (dpyinfo)
10803 dpyinfo->display = 0;
10803 10804
10804 /* First delete frames whose mini-buffers are on frames 10805 /* First delete frames whose mini-buffers are on frames
10805 that are on the dead display. */ 10806 that are on the dead display. */
10806 FOR_EACH_FRAME (tail, frame) 10807 FOR_EACH_FRAME (tail, frame)
10807 { 10808 {