diff options
author | arg@mig29 <unknown> | 2006-12-05 13:30:37 +0100 |
---|---|---|
committer | arg@mig29 <unknown> | 2006-12-05 13:30:37 +0100 |
commit | 250aa199bbc3f12a538ac3162d8065d44fab8c22 (patch) | |
tree | c8f73b3c8de838b5b8009c8115effae4412cfe14 | |
parent | 5d43e9243ce7b3273f2438bec2da170dcc8e329b (diff) |
only setting LC_CTYPE
-rw-r--r-- | dmenu.h | 3 | ||||
-rw-r--r-- | draw.c | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -3,14 +3,13 @@ */ #include <X11/Xlib.h> -#include <X11/Xlocale.h> #define FONT "fixed" #define NORMBGCOLOR "#333366" #define NORMFGCOLOR "#cccccc" #define SELBGCOLOR "#666699" #define SELFGCOLOR "#eeeeee" -#define SPACE 30 /* px */ +#define SPACE 30 /* px */ /* color */ enum { ColFG, ColBG, ColLast }; @@ -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); |