changeset 27772:839cc551cad9

no reason to exclude yd->jp
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 29 Feb 2008 08:32:34 +0000
parents 085d0a18a7f7
children 0f3a131d23da
files libpurple/protocols/yahoo/util.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/util.c	Thu Feb 28 12:28:35 2008 +0000
+++ b/libpurple/protocols/yahoo/util.c	Fri Feb 29 08:32:34 2008 +0000
@@ -116,13 +116,10 @@
 	size_t newlen;
 	const char *to_codeset;
 
-	if (yd->jp && utf8 && *utf8) {
+	if (utf8 && *utf8) {
 		return botch_utf((gchar *)str, strlen((gchar *)str), &newlen);
 	}
 
-	if (utf8 && *utf8) /* FIXME: maybe don't use utf8 if it'll fit in latin1 */
-		return g_strdup(str);
-
 	if (yd->jp)
 		to_codeset = "SHIFT_JIS";
 	else