changeset 22918:7d8c06d88125

Presumably this is what was intended.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 12 May 2008 02:55:08 +0000
parents 75c2382d54d1
children 277966d1987e
files libpurple/protocols/yahoo/yahoo_profile.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_profile.c	Mon May 12 02:27:24 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo_profile.c	Mon May 12 02:55:08 2008 +0000
@@ -1003,7 +1003,7 @@
 	purple_debug_misc("yahoo", "url_buffer = %p\n", url_buffer);
 
 	/* convert to utf8 */
-	if (strings && strings->charset != XX) {
+	if (strings && strings->charset) {
 		p = g_convert(stripped, -1, "utf-8", strings->charset,
 				NULL, NULL, NULL);
 		if (!p) {
@@ -1023,7 +1023,7 @@
 	p = NULL;
 
 	/* "Last updated" should also be converted to utf8 and with &nbsp; killed */
-	if (strings && strings->charset != XX) {
+	if (strings && strings->charset) {
 		last_updated_utf8_string = g_convert(last_updated_string, -1, "utf-8",
 				strings->charset, NULL, NULL, NULL);
 		yahoo_remove_nonbreaking_spaces(last_updated_utf8_string);