only setting LC_CTYPE

This commit is contained in:
arg@mig29 committed 2006-12-05 13:30:37 +01:00
1 parent 5d43e9243c
commit 250aa199bb
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -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);