diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 16:04:03 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 16:04:03 +0100 |
commit | f262a8c0bfae0cd90c2cd29acd409baf2157c241 (patch) | |
tree | 1a9f3a8c483e16c5d3d435d7c7143a6aa73b58e1 /draw/draw_glyph.c | |
parent | 139d80bd65a164accf9d36d244d3d6a4c555aa47 (diff) | |
download | mupdf-f262a8c0bfae0cd90c2cd29acd409baf2157c241.tar.xz |
Be consistent about passing a fz_context in path/text/shade functions.
Diffstat (limited to 'draw/draw_glyph.c')
-rw-r--r-- | draw/draw_glyph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/draw_glyph.c b/draw/draw_glyph.c index d7704a57..49f04fe8 100644 --- a/draw/draw_glyph.c +++ b/draw/draw_glyph.c @@ -143,7 +143,7 @@ fz_render_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix ctm, fz_color fz_try(ctx) { fz_hash_insert(ctx, cache->hash, &key, val); - fz_keep_font(key.font); + fz_keep_font(ctx, key.font); val = fz_keep_pixmap(ctx, val); } fz_catch(ctx) |