diff options
| author | arg@mig29 <unknown> | 2006-12-05 13:31:29 +0100 |
|---|---|---|
| committer | arg@mig29 <unknown> | 2006-12-05 13:31:29 +0100 |
| commit | 71b82fb1f6ab39409389962e891624ee1f0849c4 (patch) | |
| tree | d01c8d0232c7b5cce3073f37cbe4ec81207c4212 | |
| parent | enforcing using fontsets even if they are incomplete for some encodings (diff) | |
| download | dwm-71b82fb1f6ab39409389962e891624ee1f0849c4.tar.gz dwm-71b82fb1f6ab39409389962e891624ee1f0849c4.zip | |
also setting LC_CTYPE only
| -rw-r--r-- | draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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); |
