Mercurial > emacs
comparison src/xfns.c @ 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 | 886073e54ccb |
comparison
equal
deleted
inserted
replaced
83272:b877c1847af1 | 83273:1cd1aa464b44 |
---|---|
4044 If DISPLAY is nil, that stands for the selected frame's display. */) | 4044 If DISPLAY is nil, that stands for the selected frame's display. */) |
4045 (display) | 4045 (display) |
4046 Lisp_Object display; | 4046 Lisp_Object display; |
4047 { | 4047 { |
4048 struct x_display_info *dpyinfo = check_x_display_info (display); | 4048 struct x_display_info *dpyinfo = check_x_display_info (display); |
4049 int i; | |
4050 | 4049 |
4051 if (dpyinfo->reference_count > 0) | 4050 if (dpyinfo->reference_count > 0) |
4052 error ("Display still has frames on it"); | 4051 error ("Display still has frames on it"); |
4053 | 4052 |
4054 x_delete_frame_display (dpyinfo->frame_display); | 4053 x_delete_frame_display (dpyinfo->frame_display); |