1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

Forgot to add the additional parameter to g_convert_with_fallback (This always happens when I'm applying patches manually :( )

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3882 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Valentin Batz 2005-07-24 20:01:06 +00:00 committed by vb
parent 56041a3144
commit 240a7df160

View File

@ -107,7 +107,7 @@ char *recode_in(const SERVER_REC *server, const char *str, const char *target)
to = translit_to = g_strconcat(to, "//TRANSLIT", NULL);
if (from)
recoded = g_convert_with_fallback(str, len, to, from, NULL, NULL, NULL);
recoded = g_convert_with_fallback(str, len, to, from, NULL, NULL, NULL, NULL);
if (!recoded) {
if (term_is_utf8) {
@ -118,7 +118,7 @@ char *recode_in(const SERVER_REC *server, const char *str, const char *target)
from = "UTF-8";
if (from)
recoded = g_convert_with_fallback(str, len, to, from, NULL, NULL, NULL);
recoded = g_convert_with_fallback(str, len, to, from, NULL, NULL, NULL, NULL);
if (!recoded)
recoded = g_strdup(str);