pidgin/gtkimhtml.c

changeset 32229
f4aa2edf2735
parent 32189
3af8d41121b6
child 32291
394209616656
child 32433
f539a2c083b2
--- a/pidgin/gtkimhtml.c	Wed Aug 24 15:05:10 2011 +0000
+++ b/pidgin/gtkimhtml.c	Wed Aug 24 15:06:36 2011 +0000
@@ -5367,9 +5367,9 @@
 			tag = sl->data;
 			/** don't worry about non-printing tags ending */
 			if (tag_ends_here(tag, &iter, &next_iter) &&
-					strlen(tag_to_html_end(tag)) > 0 &&
-					strlen(tag_to_html_start(tag)) > 0) {
-
+					*tag_to_html_end(tag) &&
+					*tag_to_html_start(tag))
+			{
 				PidginTextTagData *tmp;
 				GQueue *r = g_queue_new();
 

mercurial