summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
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;
}