From 71b82fb1f6ab39409389962e891624ee1f0849c4 Mon Sep 17 00:00:00 2001 From: "arg@mig29" Date: Tue, 5 Dec 2006 13:31:29 +0100 Subject: also setting LC_CTYPE only --- draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw.c b/draw.c index c0b233f..cef5efb 100644 --- a/draw.c +++ b/draw.c @@ -170,8 +170,8 @@ setfont(const char *fontstr) { char **missing, *def; int i, n; + setlocale(LC_CTYPE, ""); missing = NULL; - setlocale(LC_ALL, ""); if(dc.font.set) XFreeFontSet(dpy, dc.font.set); dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); -- cgit v1.2.3-13-gbd6f