Mercurial > hg > xemacs-beta
comparison src/objects-x.c @ 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 | 77b0b03fbc47 |
children | 1e217fa4ad7d |
comparison
equal
deleted
inserted
replaced
3422:ebbc8ddcaf32 | 3423:ac11131c6de9 |
---|---|
1213 to LISP and decide when to reinitialize | 1213 to LISP and decide when to reinitialize |
1214 intelligently. */ | 1214 intelligently. */ |
1215 stderr_out ("Failed fontconfig initialization\n"); | 1215 stderr_out ("Failed fontconfig initialization\n"); |
1216 else | 1216 else |
1217 { | 1217 { |
1218 struct charset_reporter *cr; | |
1218 FcPattern *fontxft; /* long-lived, freed at end of this block */ | 1219 FcPattern *fontxft; /* long-lived, freed at end of this block */ |
1219 FcResult fcresult; | 1220 FcResult fcresult; |
1220 FcConfig *fcc; | 1221 FcConfig *fcc; |
1221 FcChar8 *lang = "en"; /* #### fix this bogus hack! */ | 1222 FcChar8 *lang = "en"; /* #### fix this bogus hack! */ |
1222 FcCharSet *fccs = NULL; | 1223 FcCharSet *fccs = NULL; |
1300 text module. | 1301 text module. |
1301 | 1302 |
1302 Optimization: cache the generated FcCharSet in the Mule charset. | 1303 Optimization: cache the generated FcCharSet in the Mule charset. |
1303 Don't forget to destroy it if the Mule charset gets deallocated. */ | 1304 Don't forget to destroy it if the Mule charset gets deallocated. */ |
1304 | 1305 |
1305 struct charset_reporter *cr; | |
1306 for (cr = charset_table; | 1306 for (cr = charset_table; |
1307 cr->charset && !EQ (*(cr->charset), charset); | 1307 cr->charset && !EQ (*(cr->charset), charset); |
1308 cr++) | 1308 cr++) |
1309 ; | 1309 ; |
1310 | 1310 |