mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04: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:
parent
56041a3144
commit
240a7df160
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user