summaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-12-05 13:30:37 +0100
committerarg@mig29 <unknown>2006-12-05 13:30:37 +0100
commit250aa199bbc3f12a538ac3162d8065d44fab8c22 (patch)
treec8f73b3c8de838b5b8009c8115effae4412cfe14 /draw.c
parent5d43e9243ce7b3273f2438bec2da170dcc8e329b (diff)
only setting LC_CTYPE
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 56a1beb..29289a4 100644
--- a/draw.c
+++ b/draw.c
@@ -84,7 +84,7 @@ setfont(const char *fontstr) {
int i, n;
missing = NULL;
- setlocale(LC_ALL, "");
+ setlocale(LC_CTYPE, "");
if(dc.font.set)
XFreeFontSet(dpy, dc.font.set);
dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);