aboutsummaryrefslogtreecommitdiffstats
path: root/src/charset.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-02 19:01:04 +0200
committerMax Kellermann <max@duempel.org>2008-10-02 19:01:04 +0200
commitde5c385e46039d2f7410b5ba4a61f92725d7ca9a (patch)
treed30469f1a3d93f546cb08c5cbeaa04cd52cdd4a7 /src/charset.h
parentee9951222c4f0e3970466f6aba2e42dea21a6cdc (diff)
downloadmpd-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 '')
-rw-r--r--src/charset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charset.h b/src/charset.h
index 24f7ef632..70173d19c 100644
--- a/src/charset.h
+++ b/src/charset.h
@@ -23,7 +23,8 @@
#include <stdbool.h>
#include <stddef.h>
-void charset_init(bool disable);
+const char *
+charset_init(void);
/**
* Returns the number of terminal cells occupied by this string.