summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-06-10 22:49:00 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-06-10 22:49:00 +0000
commit21abb5113086a3d806c8d1a636227bec47e57fc8 (patch)
treea6f642ce7194132c3f78d0b4730ef36ccea6f7a9 /src/fe-common
parentbd63e4c746f92040418073c8f452d5cb2f7a9072 (diff)
downloadirssi-21abb5113086a3d806c8d1a636227bec47e57fc8.zip
Cache charset related data rather than computing it everytime recode_{in,out}
is called. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4862 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-recode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-recode.c b/src/fe-common/core/fe-recode.c
index f0ce6da9..dbc43574 100644
--- a/src/fe-common/core/fe-recode.c
+++ b/src/fe-common/core/fe-recode.c
@@ -172,6 +172,7 @@ static void read_settings(void)
term_charset = is_valid_charset(old_term_charset) ? g_strdup(old_term_charset) : NULL;
settings_set_str("term_charset", term_charset);
}
+ recode_update_charset();
if (recode_out_default)
g_free(recode_out_default);