summaryrefslogtreecommitdiff
path: root/do_text.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-13 18:55:51 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-13 18:55:51 -0200
commitc7f3c6652e9507e4303fd9ed913c593afb7447f0 (patch)
treebb78edc4cdd137a3f2e7eb6e9d6fdd3b2c9f9706 /do_text.c
parent828c0323450eadaf040749c010918679f5e4fe53 (diff)
Ansification and compile warning fixes.
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, and corrects make distcheck.
Diffstat (limited to 'do_text.c')
-rw-r--r--do_text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/do_text.c b/do_text.c
index 84763b2..8f4fd74 100644
--- a/do_text.c
+++ b/do_text.c
@@ -444,8 +444,8 @@ InitAAText(XParms xp, Parms p, int reps)
printf ("Cannot allocate black\n");
XftFontClose (xp->d, aafont);
XftDrawDestroy (aadraw);
- aafont = 0;
- aadraw = 0;
+ aafont = NULL;
+ aadraw = NULL;
return 0;
}