summaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) {
170 char **missing, *def; 170 char **missing, *def;
171 int i, n; 171 int i, n;
172 172
173 setlocale(LC_CTYPE, "");
173 missing = NULL; 174 missing = NULL;
174 setlocale(LC_ALL, "");
175 if(dc.font.set) 175 if(dc.font.set)
176 XFreeFontSet(dpy, dc.font.set); 176 XFreeFontSet(dpy, dc.font.set);
177 dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); 177 dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);