aboutsummaryrefslogtreecommitdiff
path: root/libXft/src/xftdpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXft/src/xftdpy.c')
-rw-r--r--libXft/src/xftdpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXft/src/xftdpy.c b/libXft/src/xftdpy.c
index 055351586..cd50358d2 100644
--- a/libXft/src/xftdpy.c
+++ b/libXft/src/xftdpy.c
@@ -160,7 +160,7 @@ _XftDisplayInfoGet (Display *dpy, FcBool createIfNecessary)
info->next = _XftDisplayInfo;
_XftDisplayInfo = info;
- info->glyph_memory = NULL;
+ info->glyph_memory = 0;
info->max_glyph_memory = XftDefaultGetInteger (dpy,
XFT_MAX_GLYPH_MEMORY, 0,
XFT_DPY_MAX_GLYPH_MEMORY);