aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-08-18 09:31:55 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-08-18 09:31:55 +0100
commitb48fa3f101d2805882ab6a2a095e541b0cfe83f6 (patch)
treed80250964be2c29a0488f2893654944977b67578
parent051a404b66dfa4f87f98411da61320a93a146ec8 (diff)
downloaddwm-b48fa3f101d2805882ab6a2a095e541b0cfe83f6.tar.gz
removed setlocale() stuff, not necessary if Xmb in use
-rw-r--r--dwm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index fce0a25..3d993c5 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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>
@@ -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)))
remember that computers suck.