From de5c385e46039d2f7410b5ba4a61f92725d7ca9a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 2 Oct 2008 19:01:04 +0200 Subject: charset: charset_init() returns character set Don't pass "noconvert" to charset_init(). Let charset_init() determine that with g_get_charset() and return its name. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 0a9f7cb59..07198e7de 100644 --- a/src/main.c +++ b/src/main.c @@ -334,7 +334,7 @@ main(int argc, const char *argv[]) /* charset */ setlocale(LC_CTYPE,""); /* initialize charset conversions */ - charset_init(g_get_charset(&charset)); + charset = charset_init(); #endif /* initialize i18n support */ -- cgit v1.2.3