Mon, 04 Jun 2007 05:56:57 +0000
Make this work with the changes in revision
2f24c76fbb7c3498befa77a93d93222b456f88de.
Again, I really wish I knew how to optimize this properly.
| libpurple/util.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/util.c Mon Jun 04 05:55:13 2007 +0000 +++ b/libpurple/util.c Mon Jun 04 05:56:57 2007 +0000 @@ -1449,7 +1449,7 @@ pt->src_tag = "img"; pt->dest_tag = "img"; tags = g_list_prepend(tags, pt); - if(src && src->len) + if(xhtml && src && src->len) g_string_append_printf(xhtml, "<img src='%s' alt=''>", g_strstrip(src->str)); else pt->ignore = TRUE;