| 18148:b1844c3fcbbb | 18149:4effa2c1f199 |
|---|---|
| 708 | 708 |
| 709 while (purple_markup_find_tag("img", tmp, &start, &end, &attributes)) { | 709 while (purple_markup_find_tag("img", tmp, &start, &end, &attributes)) { |
| 710 int imgid = 0; | 710 int imgid = 0; |
| 711 char *idstr = NULL; | 711 char *idstr = NULL; |
| 712 | 712 |
| 713 /* TODO: As implemented, this never happens */ | |
| 713 if (newmsg == NULL) | 714 if (newmsg == NULL) |
| 714 newmsg = g_string_new(""); | 715 newmsg = g_string_new(""); |
| 715 | 716 |
| 716 /* copy any text before the img tag */ | 717 /* copy any text before the img tag */ |
| 717 if (tmp < start) | 718 if (tmp < start) |
| 780 | 781 |
| 781 /* Continue from the end of the tag */ | 782 /* Continue from the end of the tag */ |
| 782 tmp = end + 1; | 783 tmp = end + 1; |
| 783 } | 784 } |
| 784 | 785 |
| 786 /* TODO: As implemented, this never happens */ | |
| 785 if (newmsg == NULL) | 787 if (newmsg == NULL) |
| 786 { | 788 { |
| 787 /* No images were found to change. */ | 789 /* No images were found to change. */ |
| 788 return (char *)msg; | 790 return (char *)msg; |
| 789 } | 791 } |