projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd9ea4
)
also setting LC_CTYPE only
author
arg@mig29
<unknown>
Tue, 5 Dec 2006 12:31:29 +0000
(13:31 +0100)
committer
arg@mig29
<unknown>
Tue, 5 Dec 2006 12:31:29 +0000
(13:31 +0100)
draw.c
patch
|
blob
|
history
diff --git
a/draw.c
b/draw.c
index c0b233fe22b0177a52ab4fab28fe34d243b4af14..cef5efb7c77b29025a1bf19da614e7f9be06b607 100644
(file)
--- 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);