Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
criticic committed Sep 20, 2022
1 parent 5cf9310 commit 98ed2a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion link.c
Original file line number Diff line number Diff line change
Expand Up @@ -2558,7 +2558,8 @@ ML (getfileannot (value ptr_v, value n_v))
pdf_obj *fs = pdf_dict_get (state.ctx,
pdf_annot_obj (state.ctx, slink->u.annot),
PDF_NAME (FS));
pdf_embedded_file_params *file_params = pdf_get_embedded_file_params (state.ctx, fs);
pdf_embedded_file_params *file_params;
pdf_get_embedded_file_params (state.ctx, fs, file_params);
ret_v = caml_copy_string (file_params->filename);

unlock (__func__);
Expand Down

0 comments on commit 98ed2a0

Please sign in to comment.