From f262a8c0bfae0cd90c2cd29acd409baf2157c241 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 3 Feb 2012 16:04:03 +0100 Subject: Be consistent about passing a fz_context in path/text/shade functions. --- draw/draw_glyph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'draw/draw_glyph.c') 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) -- cgit v1.2.3