about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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);
39'>39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70