From ffe218bbb0ffa6d2a7f7cbf6b1f81797e667183a Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 5 Mar 2012 09:59:38 +0100 Subject: libfontenc xserver pixman mesa git update 5 Mar 2012 font-util-1.3.0 xclock-1.0.6 libXfont-1.4.5 inputproto-2.2 --- apps/xclock/Clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/xclock/Clock.c') diff --git a/apps/xclock/Clock.c b/apps/xclock/Clock.c index 70eb0a155..ebbd2f6e2 100644 --- a/apps/xclock/Clock.c +++ b/apps/xclock/Clock.c @@ -591,7 +591,7 @@ Initialize (Widget request, Widget new, ArgList args, Cardinal *num_args) w->clock.utf8 = False; if (!no_locale) { - char *time_locale = setlocale(LC_TIME, NULL); + char *time_locale = setlocale(LC_CTYPE, NULL); if (strstr(time_locale, "UTF-8") || strstr(time_locale, "utf8")) { w->clock.utf8 = True; @@ -2214,7 +2214,7 @@ clock_to_utf8(const char *str, int in_len) char *buf; size_t buf_size; size_t ileft, oleft; - const char *inptr; + ICONV_CONST char *inptr; char *outptr; size_t ret; const char *code_set = nl_langinfo(CODESET); -- cgit v1.2.3