dwm-meillo

diff draw.c @ 614:9ae187cb9ea8

also setting LC_CTYPE only
author arg@mig29
date Tue, 05 Dec 2006 13:31:29 +0100
parents 5f4bb0a58f32
children ae5c3e06f7e2
line diff
     1.1 --- a/draw.c	Tue Dec 05 10:30:31 2006 +0100
     1.2 +++ b/draw.c	Tue Dec 05 13:31:29 2006 +0100
     1.3 @@ -170,8 +170,8 @@
     1.4  	char **missing, *def;
     1.5  	int i, n;
     1.6  
     1.7 +	setlocale(LC_CTYPE, "");
     1.8  	missing = NULL;
     1.9 -	setlocale(LC_ALL, "");
    1.10  	if(dc.font.set)
    1.11  		XFreeFontSet(dpy, dc.font.set);
    1.12  	dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);