tremoved setlocale() stuff, not necessary if Xmb in use - dwm - [fork] customiz… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b48fa3f101d2805882ab6a2a095e541b0cfe83f6 | |
parent 051a404b66dfa4f87f98411da61320a93a146ec8 | |
Author: Anselm R Garbe <[email protected]> | |
Date: Mon, 18 Aug 2008 09:31:55 +0100 | |
removed setlocale() stuff, not necessary if Xmb in use | |
Diffstat: | |
M dwm.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -24,7 +24,6 @@ | |
* To understand everything else, start reading main(). | |
*/ | |
#include <errno.h> | |
-#include <locale.h> | |
#include <stdarg.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
t@@ -1705,7 +1704,7 @@ main(int argc, char *argv[]) { | |
else if(argc != 1) | |
die("usage: dwm [-v]\n"); | |
- if(!setlocale(LC_CTYPE, "") || !XSupportsLocale()) | |
+ if(!XSupportsLocale()) | |
fprintf(stderr, "warning: no locale support\n"); | |
if(!(dpy = XOpenDisplay(0))) |