Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
criticic committed Jan 2, 2023
1 parent dd34d45 commit 80dd38a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions link.c
Original file line number Diff line number Diff line change
Expand Up @@ -2558,9 +2558,9 @@ 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, file_params);
ret_v = caml_copy_string (file_params->filename);
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__);
CAMLreturn (ret_v);
Expand Down

0 comments on commit 80dd38a

Please sign in to comment.