From 90e2f38a44f6dd9d85086903809801a5346aa5b9 Mon Sep 17 00:00:00 2001 From: Karoly Lorentey Date: Sat, 19 Mar 2005 20:48:17 +0000 Subject: [PATCH] Fix stupid syntax errors in previous patch. * src/xfns.c (Fx_close_connection): Remove declaration cruft. * src/xterm.c (x_delete_frame_display): Declare i. Fix initialization of dpyinfo. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-313 --- src/xfns.c | 1 - src/xterm.c | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xfns.c b/src/xfns.c index 2487e67be9c..6ff6b16d5b4 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4046,7 +4046,6 @@ If DISPLAY is nil, that stands for the selected frame's display. */) Lisp_Object display; { struct x_display_info *dpyinfo = check_x_display_info (display); - int i; if (dpyinfo->reference_count > 0) error ("Display still has frames on it"); diff --git a/src/xterm.c b/src/xterm.c index 36f1630e6c1..c47b52d881c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10767,7 +10767,8 @@ static struct redisplay_interface x_redisplay_interface = void x_delete_frame_display (struct display *display) { - struct x_display_info *dpyinfo = display->display_info; + struct x_display_info *dpyinfo = display->display_info.x; + int i; BLOCK_INPUT; /* Free the fonts in the font table. */ -- 2.39.5