pidgin: bbfb5ec4: Presumably this is what was intended.

datallah at pidgin.im datallah at pidgin.im
Sun May 11 23:00:44 EDT 2008


-----------------------------------------------------------------
Revision: bbfb5ec4d590b8a19e0232fdd9f729fea6825729
Ancestor: b4afde23a418fe8181a3a3de0603e3dc74d6e1e2
Author: datallah at pidgin.im
Date: 2008-05-12T02:55:08
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bbfb5ec4d590b8a19e0232fdd9f729fea6825729

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

ChangeLog: 

Presumably this is what was intended.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_profile.c	aece8205299da37a566e01ba6f830965ffc26869
+++ libpurple/protocols/yahoo/yahoo_profile.c	26d6480e16b0ae61c3c76aa84fc75d6481e38c6d
@@ -1003,7 +1003,7 @@ yahoo_got_photo(PurpleUtilFetchUrlData *
 	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 @@ yahoo_got_photo(PurpleUtilFetchUrlData *
 	p = NULL;
 
 	/* "Last updated" should also be converted to utf8 and with   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);


More information about the Commits mailing list