summaryrefslogtreecommitdiff
path: root/pdf/pdf_font.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdf/pdf_font.c')
-rw-r--r--pdf/pdf_font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdf_font.c b/pdf/pdf_font.c
index d0a7241d..b6c59153 100644
--- a/pdf/pdf_font.c
+++ b/pdf/pdf_font.c
@@ -304,9 +304,9 @@ pdf_load_embedded_font(pdf_font_desc *fontdesc, pdf_xref *xref, fz_obj *stmref)
*/
pdf_font_desc *
-pdf_keep_font(pdf_font_desc *fontdesc)
+pdf_keep_font(fz_context *ctx, pdf_font_desc *fontdesc)
{
- return (pdf_font_desc *)fz_keep_storable(&fontdesc->storable);
+ return (pdf_font_desc *)fz_keep_storable(ctx, &fontdesc->storable);
}
void