[latex3-commits] [git/LaTeX3-latex3-pdfresources] test-new-hooks: typo (fb03b9f)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue May 19 19:13:04 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : test-new-hooks
Link       : https://github.com/latex3/pdfresources/commit/fb03b9fa4294c5fa4401a992034cd82a26b18b1a

>---------------------------------------------------------------

commit fb03b9fa4294c5fa4401a992034cd82a26b18b1a
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue May 19 19:13:04 2020 +0200

    typo


>---------------------------------------------------------------

fb03b9fa4294c5fa4401a992034cd82a26b18b1a
 pdfresources.dtx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pdfresources.dtx b/pdfresources.dtx
index fa5ba54..a63b70e 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -3265,12 +3265,12 @@
 % #2: name of flag, e.g. Print
 \cs_new_protected:Npn \pdfannot_flag_set:nn #1 #2
   {
-    \bitsetSet  { @@_#1_flag }{\prop_item:Nn\c_pdfannot_flags_prop {#1}}
+    \bitsetSet  { @@_#1_flag }{\prop_item:Nn\c_pdfannot_flags_prop {#2}}
   }
 
 \cs_new_protected:Npn \pdfannot_flag_clear:nn #1 #2
   {
-    \bitsetClear{ @@_#1_flag }{\prop_item:Nn\c_pdfannot_flags_prop {#1}}
+    \bitsetClear{ @@_#1_flag }{\prop_item:Nn\c_pdfannot_flags_prop {#2}}
   }
 
 %flags are output as decimals.
@@ -3339,7 +3339,7 @@
 
 \seq_map_inline:Nn \c_pdfannot_link_types_seq
  {
-   \pdfdict_new:n { annot/Link/#1 }
+   \pdfdict_new:n   { annot/Link/#1 }
    \pdfdict_put:nnn { annot/Link/#1}{ F }{ \pdfannot_flag_use:n { annot/Link} }
    \hook_new_pair:nn
      {pdf/annot/Link/#1/before}





More information about the latex3-commits mailing list.