| 174 if (unused) |
174 if (unused) |
| 175 t_len = av_len((AV *)SvRV(unused)); |
175 t_len = av_len((AV *)SvRV(unused)); |
| 176 else |
176 else |
| 177 t_len = 0; |
177 t_len = 0; |
| 178 |
178 |
| 179 for (i = 0; i <= t_len; i++) { |
179 for (i = 0; i <= t_len && unused; i++) { |
| 180 STRLEN t_sl; |
180 STRLEN t_sl; |
| 181 t_GL = g_slist_append(t_GL, SvPV(*av_fetch((AV *)SvRV(unused), i, 0), t_sl)); |
181 t_GL = g_slist_append(t_GL, SvPV(*av_fetch((AV *)SvRV(unused), i, 0), t_sl)); |
| 182 } |
182 } |
| 183 gtk_imhtml_append_text_with_images(imhtml, text, options, t_GL); |
183 gtk_imhtml_append_text_with_images(imhtml, text, options, t_GL); |
| 184 |
184 |