summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-nametree.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-nametree.c')
-rw-r--r--source/pdf/pdf-nametree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-nametree.c b/source/pdf/pdf-nametree.c
index 375b9fd5..30dd5974 100644
--- a/source/pdf/pdf-nametree.c
+++ b/source/pdf/pdf-nametree.c
@@ -140,7 +140,7 @@ pdf_load_name_tree_imp(fz_context *ctx, pdf_obj *dict, pdf_document *doc, pdf_ob
pdf_obj *val = pdf_array_get(ctx, names, i + 1);
if (pdf_is_string(ctx, key))
{
- key = pdf_to_utf8_name(ctx, doc, key);
+ key = pdf_to_utf8_name(ctx, key);
pdf_dict_put(ctx, dict, key, val);
pdf_drop_obj(ctx, key);
}