diff options
author | Max Kellermann <max@duempel.org> | 2008-10-02 19:01:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-02 19:01:04 +0200 |
commit | de5c385e46039d2f7410b5ba4a61f92725d7ca9a (patch) | |
tree | d30469f1a3d93f546cb08c5cbeaa04cd52cdd4a7 /src/main.c | |
parent | ee9951222c4f0e3970466f6aba2e42dea21a6cdc (diff) | |
download | mpd-de5c385e46039d2f7410b5ba4a61f92725d7ca9a.tar.gz mpd-de5c385e46039d2f7410b5ba4a61f92725d7ca9a.tar.xz mpd-de5c385e46039d2f7410b5ba4a61f92725d7ca9a.zip |
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.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |