diff options
author | marha <marha@users.sourceforge.net> | 2012-03-05 09:59:38 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-03-05 09:59:38 +0100 |
commit | ffe218bbb0ffa6d2a7f7cbf6b1f81797e667183a (patch) | |
tree | 233b818e67de2073647e46e91ac688c6b43d5917 /apps/xclock/Clock.c | |
parent | 15a500d3edb03668b43cc6898fafcda024d0f006 (diff) | |
download | vcxsrv-ffe218bbb0ffa6d2a7f7cbf6b1f81797e667183a.tar.gz vcxsrv-ffe218bbb0ffa6d2a7f7cbf6b1f81797e667183a.tar.bz2 vcxsrv-ffe218bbb0ffa6d2a7f7cbf6b1f81797e667183a.zip |
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
Diffstat (limited to 'apps/xclock/Clock.c')
-rw-r--r-- | apps/xclock/Clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |