Mercurial > pidgin.yaz
diff libpurple/protocols/irc/parse.c @ 27786:25c34e4140d4
swap botch and sanitize.
| author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
|---|---|
| date | Thu, 06 Mar 2008 10:23:16 +0000 |
| parents | 0f3a131d23da |
| children | 030185a59a1a |
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;
