Xinqi Bao's Git
projects
/
dmenu.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
only setting LC_CTYPE
[dmenu.git]
/
draw.c
diff --git
a/draw.c
b/draw.c
index
56a1beb
..
29289a4
100644
(file)
--- 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);