diff options
Diffstat (limited to 'Build/source/texk/dvipdf-x/xsrc/spc_pdfm.c')
-rw-r--r-- | Build/source/texk/dvipdf-x/xsrc/spc_pdfm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdf-x/xsrc/spc_pdfm.c b/Build/source/texk/dvipdf-x/xsrc/spc_pdfm.c index 7aa8863ae9b..c7b25c5cc8b 100644 --- a/Build/source/texk/dvipdf-x/xsrc/spc_pdfm.c +++ b/Build/source/texk/dvipdf-x/xsrc/spc_pdfm.c @@ -670,7 +670,7 @@ spc_handler_pdfm_annot (struct spc_env *spe, struct spc_arg *args) if (ident) spc_push_object(ident, pdf_link_obj(annot_dict)); /* This add reference. */ - pdf_doc_add_annot(pdf_doc_current_page_number(), &rect, annot_dict); + pdf_doc_add_annot(pdf_doc_current_page_number(), &rect, annot_dict, 1); if (ident) { spc_flush_object(ident); @@ -832,7 +832,7 @@ spc_handler_pdfm_etrans (struct spc_env *spe, struct spc_arg *args) * starting a new page. */ pdf_dev_reset_fonts(); - pdf_dev_reset_color(); + pdf_dev_reset_color(0); return 0; } |