# HG changeset patch # User Mark Doliner # Date 1249032157 0 # Node ID 2b3a9a68e0bcfd09c72e5e8db0af64e07876ca6f # Parent 1c9d3038a0d3649fe1517e2e832c4e2a0f96e660 Of course I got it backwards diff -r 1c9d3038a0d3 -r 2b3a9a68e0bc libpurple/protocols/yahoo/util.c --- a/libpurple/protocols/yahoo/util.c Fri Jul 31 09:21:28 2009 +0000 +++ b/libpurple/protocols/yahoo/util.c Fri Jul 31 09:22:37 2009 +0000 @@ -342,7 +342,7 @@ GString *s; int i, j; gchar *tmp; - gboolean no_more_lt_brackets = FALSE; + gboolean no_more_gt_brackets = FALSE; const char *match; x_len = strlen(x); @@ -377,7 +377,7 @@ } } - } else if (!no_more_lt_brackets && (x[i] == '<')) { + } else if (!no_more_gt_brackets && (x[i] == '<')) { /* The start of an HTML tag */ j = i; @@ -385,7 +385,7 @@ if (x[j] != '>') if (j == x_len) { g_string_append(s, "<"); - no_more_lt_brackets = TRUE; + no_more_gt_brackets = TRUE; } else continue;