aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 11:27:56 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 11:27:56 +0200
commit8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd (patch)
tree9d16550b8008be5469453dd1b39fc548e35256ad /draw.c
parent3a69c5173cdd24959410870bec2a10a76272e034 (diff)
downloaddwm-8a8b7956b6de80decbfd3bff6d2ad6e5bb69b2bd.tar.gz
new stuff
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/draw.c b/draw.c
index b89c365..a3c526e 100644
--- a/draw.c
+++ b/draw.c
@@ -116,7 +116,7 @@ loadfont(Display *dpy, Fnt *font, const char *fontstr)
char **missing, *def;
int n;
- missing = 0;
+ missing = NULL;
def = "?";
setlocale(LC_ALL, "");
if(font->set)
@@ -128,7 +128,7 @@ loadfont(Display *dpy, Fnt *font, const char *fontstr)
XFreeStringList(missing);
if(font->set) {
XFreeFontSet(dpy, font->set);
- font->set = 0;
+ font->set = NULL;
}
}
if(font->set) {
@@ -151,7 +151,7 @@ loadfont(Display *dpy, Fnt *font, const char *fontstr)
else {
if(font->xfont)
XFreeFont(dpy, font->xfont);
- font->xfont = 0;
+ font->xfont = NULL;
font->xfont = XLoadQueryFont(dpy, fontstr);
if (!font->xfont)
font->xfont = XLoadQueryFont(dpy, "fixed");