JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed setlocale() stuff, not necessary if Xmb in use
authorAnselm R Garbe <garbeam@gmail.com>
Mon, 18 Aug 2008 08:31:55 +0000 (09:31 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Mon, 18 Aug 2008 08:31:55 +0000 (09:31 +0100)
dwm.c

diff --git a/dwm.c b/dwm.c
index fce0a25..3d993c5 100644 (file)
--- 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)))