changeset 3423:ac11131c6de9

[xemacs-hg @ 2006-05-24 16:30:28 by james] Don't use C99/C++ variable declaration style. <86zmhiax0m.fsf@santinel.home.ua>
author james
date Wed, 24 May 2006 16:30:32 +0000
parents ebbc8ddcaf32
children 3204267bfd9d
files src/ChangeLog src/objects-x.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue May 23 21:51:35 2006 +0000
+++ b/src/ChangeLog	Wed May 24 16:30:32 2006 +0000
@@ -1,3 +1,7 @@
+2006-05-16  Andrey Slusar  <anrays@gmail.com>
+
+	* objects-x.c (x_find_charset_font): Fix build with gcc 2.95.
+
 2006-05-23  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* file-coding.c (output_bytes_in_ascii_and_hex):
--- a/src/objects-x.c	Tue May 23 21:51:35 2006 +0000
+++ b/src/objects-x.c	Wed May 24 16:30:32 2006 +0000
@@ -1215,6 +1215,7 @@
     stderr_out ("Failed fontconfig initialization\n");
   else
     {
+      struct charset_reporter *cr;
       FcPattern *fontxft;	/* long-lived, freed at end of this block */
       FcResult fcresult;
       FcConfig *fcc;
@@ -1302,7 +1303,6 @@
 	 Optimization:  cache the generated FcCharSet in the Mule charset.
          Don't forget to destroy it if the Mule charset gets deallocated. */
 
-      struct charset_reporter *cr;
       for (cr = charset_table;
 	   cr->charset && !EQ (*(cr->charset), charset);
 	   cr++)