pidgin: 3f0362fa: Of course I got it backwards

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Jul 31 05:25:22 EDT 2009


-----------------------------------------------------------------
Revision: 3f0362fa563604b4fffeef09f0e11b72c619e40c
Ancestor: 50317363604b0866e352783989fd290507775a9f
Author: markdoliner at pidgin.im
Date: 2009-07-31T09:22:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3f0362fa563604b4fffeef09f0e11b72c619e40c

Modified files:
        libpurple/protocols/yahoo/util.c

ChangeLog: 

Of course I got it backwards

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/util.c	1efb7b17af1f429f7436825bedf59671ded2dc8d
+++ libpurple/protocols/yahoo/util.c	a68d6174b58d18b4490705f2e4b3fd5110e0e906
@@ -342,7 +342,7 @@ char *yahoo_codes_to_html(const char *x)
 	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 @@ char *yahoo_codes_to_html(const char *x)
 				}
 			}
 
-		} 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 @@ char *yahoo_codes_to_html(const char *x)
 				if (x[j] != '>')
 					if (j == x_len) {
 						g_string_append(s, "&lt;");
-						no_more_lt_brackets = TRUE;
+						no_more_gt_brackets = TRUE;
 					}
 					else
 						continue;


More information about the Commits mailing list