only setting LC_CTYPE
This commit is contained in:
parent
5d43e9243c
commit
250aa199bb
2 changed files with 2 additions and 3 deletions
1
dmenu.h
1
dmenu.h
|
@ -3,7 +3,6 @@
|
|||
*/
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xlocale.h>
|
||||
|
||||
#define FONT "fixed"
|
||||
#define NORMBGCOLOR "#333366"
|
||||
|
|
2
draw.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue