changeset 28108:2b3a9a68e0bc

Of course I got it backwards
author Mark Doliner <mark@kingant.net>
date Fri, 31 Jul 2009 09:22:37 +0000
parents 1c9d3038a0d3
children 087c926fdb1c 59d45eb5f9c9
files libpurple/protocols/yahoo/util.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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, "&lt;");
-						no_more_lt_brackets = TRUE;
+						no_more_gt_brackets = TRUE;
 					}
 					else
 						continue;