Mercurial > emacs
comparison src/xterm.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 | c22274b1aa9b |
comparison
equal
deleted
inserted
replaced
83272:b877c1847af1 | 83273:1cd1aa464b44 |
---|---|
10765 | 10765 |
10766 /* This function is called when the last frame on a display is deleted. */ | 10766 /* This function is called when the last frame on a display is deleted. */ |
10767 void | 10767 void |
10768 x_delete_frame_display (struct display *display) | 10768 x_delete_frame_display (struct display *display) |
10769 { | 10769 { |
10770 struct x_display_info *dpyinfo = display->display_info; | 10770 struct x_display_info *dpyinfo = display->display_info.x; |
10771 int i; | |
10771 | 10772 |
10772 BLOCK_INPUT; | 10773 BLOCK_INPUT; |
10773 /* Free the fonts in the font table. */ | 10774 /* Free the fonts in the font table. */ |
10774 for (i = 0; i < dpyinfo->n_fonts; i++) | 10775 for (i = 0; i < dpyinfo->n_fonts; i++) |
10775 if (dpyinfo->font_table[i].name) | 10776 if (dpyinfo->font_table[i].name) |