Browse Source

only setting LC_CTYPE

master
arg@mig29 18 years ago
parent
commit
250aa199bb
  1. 1
      dmenu.h
  2. 2
      draw.c

1
dmenu.h

@ -3,7 +3,6 @@
*/ */
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/Xlocale.h>
#define FONT "fixed" #define FONT "fixed"
#define NORMBGCOLOR "#333366" #define NORMBGCOLOR "#333366"

2
draw.c

@ -84,7 +84,7 @@ setfont(const char *fontstr) {
int i, n; int i, n;
missing = NULL; missing = NULL;
setlocale(LC_ALL, ""); setlocale(LC_CTYPE, "");
if(dc.font.set) if(dc.font.set)
XFreeFontSet(dpy, dc.font.set); XFreeFontSet(dpy, dc.font.set);
dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def); dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);

Loading…
Cancel
Save