From e0fb25b6057c8531f855a9b24030b15619cc9f0b Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 28 Mar 2010 18:31:14 +0000 Subject: xserver git update 28-3-2010 --- xorg-server/render/glyph.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xorg-server/render/glyph.c') diff --git a/xorg-server/render/glyph.c b/xorg-server/render/glyph.c index 0b864ad4d..f0f3b1913 100644 --- a/xorg-server/render/glyph.c +++ b/xorg-server/render/glyph.c @@ -217,6 +217,9 @@ FindGlyphByHash (unsigned char sha1[20], int format) GlyphRefPtr gr; CARD32 signature = *(CARD32 *) sha1; + if (!globalGlyphs[format].hashSet) + return NULL; + gr = FindGlyphRef (&globalGlyphs[format], signature, TRUE, sha1); -- cgit v1.2.3