From fbf0a785d58871c8b198623fd04f4d4adf4d8920 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 16 Sep 2008 19:51:14 +0200 Subject: [PATCH] draw: iconv is local Signed-off-by: Julien Danjou --- draw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/draw.c b/draw.c index 51eadd78f..1850ab164 100644 --- a/draw.c +++ b/draw.c @@ -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;