aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/render
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-03-28 18:31:14 +0000
committermarha <marha@users.sourceforge.net>2010-03-28 18:31:14 +0000
commite0fb25b6057c8531f855a9b24030b15619cc9f0b (patch)
treefb79e2d44a1b3790d714d0c96aa94d81c7d0ac92 /xorg-server/render
parentbd81af89b3080963ed75ae17f48b1d7457350cda (diff)
downloadvcxsrv-e0fb25b6057c8531f855a9b24030b15619cc9f0b.tar.gz
vcxsrv-e0fb25b6057c8531f855a9b24030b15619cc9f0b.tar.bz2
vcxsrv-e0fb25b6057c8531f855a9b24030b15619cc9f0b.zip
xserver git update 28-3-2010
Diffstat (limited to 'xorg-server/render')
-rw-r--r--xorg-server/render/glyph.c3
1 files changed, 3 insertions, 0 deletions
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);