draw: iconv is local
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
b48f094490
commit
fbf0a785d5
3
draw.c
3
draw.c
|
@ -38,8 +38,6 @@
|
||||||
|
|
||||||
extern awesome_t globalconf;
|
extern awesome_t globalconf;
|
||||||
|
|
||||||
static iconv_t iso2utf8 = (iconv_t) -1;
|
|
||||||
|
|
||||||
/** Convert text from any charset to UTF-8 using iconv.
|
/** Convert text from any charset to UTF-8 using iconv.
|
||||||
* \param iso The ISO string to convert.
|
* \param iso The ISO string to convert.
|
||||||
* \param len The string size.
|
* \param len The string size.
|
||||||
|
@ -50,6 +48,7 @@ draw_iso2utf8(const char *iso, size_t len)
|
||||||
{
|
{
|
||||||
size_t utf8len;
|
size_t utf8len;
|
||||||
char *utf8, *utf8p;
|
char *utf8, *utf8p;
|
||||||
|
static iconv_t iso2utf8 = (iconv_t) -1;
|
||||||
|
|
||||||
if(!len)
|
if(!len)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue