summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2010-12-30 15:43:42 +0000
committerSebastian Rasmussen <sebras@hotmail.com>2010-12-30 15:43:42 +0000
commit559252258781ed2f0eecd34d16a7b84ec52c0e21 (patch)
tree3efbcada2f2e940f44f5212b595503d52e0e8fd4 /draw
parent6e2a8f21f83b87bbf0530d92f809a3aea6aba724 (diff)
downloadmupdf-559252258781ed2f0eecd34d16a7b84ec52c0e21.tar.xz
Adhere to nil idiom.
Diffstat (limited to 'draw')
-rw-r--r--draw/glyphcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/glyphcache.c b/draw/glyphcache.c
index 74408862..15bb7cae 100644
--- a/draw/glyphcache.c
+++ b/draw/glyphcache.c
@@ -113,7 +113,7 @@ fz_renderglyph(fz_glyphcache *cache, fz_font *font, int cid, fz_matrix ctm)
else
{
fz_warn("assert: uninitialized font structure");
- return NULL;
+ return nil;
}
if (val)
@@ -130,5 +130,5 @@ fz_renderglyph(fz_glyphcache *cache, fz_font *font, int cid, fz_matrix ctm)
return val;
}
- return NULL;
+ return nil;
}