From: Anselm R Garbe Date: Mon, 18 Aug 2008 08:31:55 +0000 (+0100) Subject: removed setlocale() stuff, not necessary if Xmb in use X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=b48fa3f101d2805882ab6a2a095e541b0cfe83f6;p=dwm.git removed setlocale() stuff, not necessary if Xmb in use --- 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 -#include #include #include #include @@ -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)))