Skip to content

Commit

Permalink
Use pdf_new_name() instead of PDF_NAME for "Bl"
Browse files Browse the repository at this point in the history
  • Loading branch information
JorjMcKie committed Aug 4, 2023
1 parent 5be5bb7 commit 318f773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fitz/helper-fields.i
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ void JM_get_widget_properties(fz_context *ctx, pdf_annot *annot, PyObject *Widge
JM_get_script(ctx, pdf_dict_getl(ctx, annot_obj, PDF_NAME(AA), PDF_NAME(C), NULL)));

SETATTR_DROP(Widget, "script_blur",
JM_get_script(ctx, pdf_dict_getl(ctx, annot_obj, PDF_NAME(AA), PDF_NAME(Bl), NULL)));
JM_get_script(ctx, pdf_dict_getl(ctx, annot_obj, PDF_NAME(AA), pdf_new_name(ctx, "Bl"), NULL)));

SETATTR_DROP(Widget, "script_focus",
JM_get_script(ctx, pdf_dict_getl(ctx, annot_obj, PDF_NAME(AA), PDF_NAME(Fo), NULL)));
Expand Down

0 comments on commit 318f773

Please sign in to comment.