draw: iconv is local

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-16 19:51:14 +02:00
parent b48f094490
commit fbf0a785d5
1 changed files with 1 additions and 2 deletions

3
draw.c
View File

@ -38,8 +38,6 @@
extern awesome_t globalconf;
static iconv_t iso2utf8 = (iconv_t) -1;
/** Convert text from any charset to UTF-8 using iconv.
* \param iso The ISO string to convert.
* \param len The string size.
@ -50,6 +48,7 @@ draw_iso2utf8(const char *iso, size_t len)
{
size_t utf8len;
char *utf8, *utf8p;
static iconv_t iso2utf8 = (iconv_t) -1;
if(!len)
return NULL;