Mercurial > hg > xemacs-beta
comparison src/glyphs-eimage.c @ 5537:2df2d9171f20
Suppress a "shadowed local" warning.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Mon, 08 Aug 2011 13:57:18 +0900 |
parents | bbcf3f979099 |
children | 56144c8593a8 |
comparison
equal
deleted
inserted
replaced
5536:bbcf3f979099 | 5537:2df2d9171f20 |
---|---|
1086 | 1086 |
1087 /* #### There should be some way to pass this type of data down | 1087 /* #### There should be some way to pass this type of data down |
1088 * into the glyph code, where you can get to it from lisp | 1088 * into the glyph code, where you can get to it from lisp |
1089 * anyway. - WMP */ | 1089 * anyway. - WMP */ |
1090 { | 1090 { |
1091 int ii, num_text = 0; | 1091 int i, num_text = 0; |
1092 png_textp text_ptr = NULL; | 1092 png_textp text_ptr = NULL; |
1093 DECLARE_EISTRING (key); | 1093 DECLARE_EISTRING (key); |
1094 DECLARE_EISTRING (text); | 1094 DECLARE_EISTRING (text); |
1095 | 1095 |
1096 if (png_get_text (png_ptr, info_ptr, &text_ptr, &num_text) > 0) | 1096 if (png_get_text (png_ptr, info_ptr, &text_ptr, &num_text) > 0) |
1097 { | 1097 { |
1098 for (ii = 0 ; ii < num_text; ii++) | 1098 for (i = 0 ; i < num_text; i++) |
1099 { | 1099 { |
1100 eireset (key); | 1100 eireset (key); |
1101 eireset (text); | 1101 eireset (text); |
1102 | 1102 |
1103 eicpy_ext (key, text_ptr[ii].key, Qbinary); | 1103 eicpy_ext (key, text_ptr[i].key, Qbinary); |
1104 eicpy_ext (text, text_ptr[ii].text, Qbinary); | 1104 eicpy_ext (text, text_ptr[i].text, Qbinary); |
1105 | 1105 |
1106 warn_when_safe (Qpng, Qinfo, "%s - %s", eidata (key), | 1106 warn_when_safe (Qpng, Qinfo, "%s - %s", eidata (key), |
1107 eidata (text)); | 1107 eidata (text)); |
1108 } | 1108 } |
1109 } | 1109 } |