summaryrefslogtreecommitdiff
path: root/src/xftextent.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-29 18:45:48 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-29 18:45:48 -0200
commit5957fdd9ba2aba60e90a30bc3744f76ddb27b8d2 (patch)
tree3040f3b568090bd929f44566a6115e131f6d714d /src/xftextent.c
parentcb80b4493e116229d8cc46507dec0fed6febd949 (diff)
downloadxorg-lib-libXft-5957fdd9ba2aba60e90a30bc3744f76ddb27b8d2.tar.gz
Janitor: Correct make distcheck and sparse warnings.
Use only one toplevel .gitignore file. It was tempting to also modify the code to not, first check if xrender is >= 0.8.2, and then, if failing, check for libXrender functions with different build options, but left as is, as it could be somehow useful at least as an example of being backwards compatible.
Diffstat (limited to 'src/xftextent.c')
-rw-r--r--src/xftextent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xftextent.c b/src/xftextent.c
index c811198..71f5c1c 100644
--- a/src/xftextent.c
+++ b/src/xftextent.c
@@ -53,7 +53,7 @@ XftGlyphExtents (Display *dpy,
XftFontLoadGlyphs (dpy, pub, FcFalse, missing, nmissing);
g = glyphs;
n = nglyphs;
- xftg = 0;
+ xftg = NULL;
while (n)
{
glyph = *g++;