changeset 83273:1cd1aa464b44

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
author Karoly Lorentey <lorentey@elte.hu>
date Sat, 19 Mar 2005 20:48:17 +0000
parents b877c1847af1
children c22274b1aa9b
files src/xfns.c src/xterm.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Sat Mar 19 20:38:03 2005 +0000
+++ b/src/xfns.c	Sat Mar 19 20:48:17 2005 +0000
@@ -4046,7 +4046,6 @@
      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");
--- a/src/xterm.c	Sat Mar 19 20:38:03 2005 +0000
+++ b/src/xterm.c	Sat Mar 19 20:48:17 2005 +0000
@@ -10767,7 +10767,8 @@
 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.  */