Browse Source

also setting LC_CTYPE only

master
arg@mig29 18 years ago
parent
commit
71b82fb1f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      draw.c

+ 1
- 1
draw.c View File

@ -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);


Loading…
Cancel
Save