dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 71b82fb1f6ab39409389962e891624ee1f0849c4
parent 9bd9ea423e5b4c4bfee65a8495c5d611b242f7b7
Author: arg@mig29 <unknown>
Date:   Tue,  5 Dec 2006 13:31:29 +0100

also setting LC_CTYPE only
Diffstat:
Mdraw.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);