dwm-meillo

diff main.c @ 619:bda4880c462d

with this patch everything works fine for me
author arg@mig29
date Thu, 07 Dec 2006 10:02:46 +0100
parents f617c75a8405
children 107719a9ce3b
line diff
     1.1 --- a/main.c	Thu Dec 07 09:49:45 2006 +0100
     1.2 +++ b/main.c	Thu Dec 07 10:02:46 2006 +0100
     1.3 @@ -4,6 +4,7 @@
     1.4  
     1.5  #include "dwm.h"
     1.6  #include <errno.h>
     1.7 +#include <locale.h>
     1.8  #include <stdio.h>
     1.9  #include <stdlib.h>
    1.10  #include <string.h>
    1.11 @@ -240,6 +241,7 @@
    1.12  	}
    1.13  	else if(argc != 1)
    1.14  		eprint("usage: dwm [-v]\n");
    1.15 +	setlocale(LC_CTYPE, "");
    1.16  	dpy = XOpenDisplay(0);
    1.17  	if(!dpy)
    1.18  		eprint("dwm: cannot open display\n");