# HG changeset patch # User Richard Laager # Date 1181583400 0 # Node ID 9018b785ef735b883cb24d03e8fab5fb90384ac4 # Parent 1f6599cd2d2b4931323d1eba754b21e7ece84e5e Remove an old line of code to make this behave as desired. Good catch, Mark. diff -r 1f6599cd2d2b -r 9018b785ef73 libpurple/log.c --- a/libpurple/log.c Mon Jun 11 07:48:49 2007 +0000 +++ b/libpurple/log.c Mon Jun 11 17:36:40 2007 +0000 @@ -704,13 +704,10 @@ tmp = msg; - newmsg = g_string_new(""); - while (purple_markup_find_tag("img", tmp, &start, &end, &attributes)) { int imgid = 0; char *idstr = NULL; - /* TODO: As implemented, this never happens */ if (newmsg == NULL) newmsg = g_string_new(""); @@ -783,7 +780,6 @@ tmp = end + 1; } - /* TODO: As implemented, this never happens */ if (newmsg == NULL) { /* No images were found to change. */