dwm-meillo
diff draw.c @ 7:49e2fc9fb94f
new stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 11 Jul 2006 11:27:56 +0200 |
parents | e5018cae273f |
children | e8f627998d6f |
line diff
1.1 --- a/draw.c Tue Jul 11 11:10:05 2006 +0200 1.2 +++ b/draw.c Tue Jul 11 11:27:56 2006 +0200 1.3 @@ -116,7 +116,7 @@ 1.4 char **missing, *def; 1.5 int n; 1.6 1.7 - missing = 0; 1.8 + missing = NULL; 1.9 def = "?"; 1.10 setlocale(LC_ALL, ""); 1.11 if(font->set) 1.12 @@ -128,7 +128,7 @@ 1.13 XFreeStringList(missing); 1.14 if(font->set) { 1.15 XFreeFontSet(dpy, font->set); 1.16 - font->set = 0; 1.17 + font->set = NULL; 1.18 } 1.19 } 1.20 if(font->set) { 1.21 @@ -151,7 +151,7 @@ 1.22 else { 1.23 if(font->xfont) 1.24 XFreeFont(dpy, font->xfont); 1.25 - font->xfont = 0; 1.26 + font->xfont = NULL; 1.27 font->xfont = XLoadQueryFont(dpy, fontstr); 1.28 if (!font->xfont) 1.29 font->xfont = XLoadQueryFont(dpy, "fixed");