# HG changeset patch # User Anselm R Garbe # Date 1219048315 -3600 # Node ID 5456239bb8ad347f3289fe901f0c1fd682c2e6d3 # Parent c7d3198c9e9b3118146121dcd799cce8ee3a0b8a removed setlocale() stuff, not necessary if Xmb in use diff -r c7d3198c9e9b -r 5456239bb8ad dwm.c --- a/dwm.c Mon Aug 18 09:11:15 2008 +0100 +++ b/dwm.c Mon Aug 18 09:31:55 2008 +0100 @@ -24,7 +24,6 @@ * To understand everything else, start reading main(). */ #include -#include #include #include #include @@ -1705,7 +1704,7 @@ 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)))