aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-12-05 13:31:29 +0100
committerarg@mig29 <unknown>2006-12-05 13:31:29 +0100
commit71b82fb1f6ab39409389962e891624ee1f0849c4 (patch)
treed01c8d0232c7b5cce3073f37cbe4ec81207c4212 /draw.c
parent9bd9ea423e5b4c4bfee65a8495c5d611b242f7b7 (diff)
downloaddwm-71b82fb1f6ab39409389962e891624ee1f0849c4.tar.gz
also setting LC_CTYPE only
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c2
1 files changed, 1 insertions, 1 deletions
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);