changeset 27786:25c34e4140d4

swap botch and sanitize.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 06 Mar 2008 10:23:16 +0000
parents baf65ce1463f
children f2167b8f91ef
files libpurple/protocols/irc/parse.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/irc/parse.c	Wed Mar 05 19:41:19 2008 +0000
+++ b/libpurple/protocols/irc/parse.c	Thu Mar 06 10:23:16 2008 +0000
@@ -257,7 +257,7 @@
 		return g_strdup(string);
 	}
 
-	strtmp  = sanitize_utf(string, strlen(string), &strtmp_len);
+	strtmp  = botch_utf(string, strlen(string), &strtmp_len);
 	utf8 = g_convert(strtmp, strlen(strtmp), encodings[0], "UTF-8", NULL, NULL, &err);
 
 	if (err) {
@@ -472,7 +472,7 @@
 
 
 		if(utf8){
-			strtmp = botch_utf(utf8, strlen(utf8), &strtmp_len);
+			strtmp = sanitize_utf(utf8, strlen(utf8), &strtmp_len);
  			g_strfreev(encodings);
 			g_free(utf8);
 			return strtmp;