Mercurial > pidgin
comparison libpurple/log.c @ 18087:40a9029c61c0
Richard, you might want to take a look at this. I have no idea what's going on here.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 11 Jun 2007 07:38:54 +0000 |
parents | 4ca97b26a8fb |
children | 9018b785ef73 |
comparison
equal
deleted
inserted
replaced
18086:a92cadf6a978 | 18087:40a9029c61c0 |
---|---|
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 } |