[latex3-commits] [git/LaTeX3-latex3-pdfresources] renamedict77: forgot a dict test (5ab829d)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Apr 14 22:52:25 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : renamedict77
Link       : https://github.com/latex3/pdfresources/commit/5ab829dc7913cacb454d05883ca6b9fc195d236e

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

commit 5ab829dc7913cacb454d05883ca6b9fc195d236e
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Apr 14 22:52:25 2020 +0200

    forgot a dict test


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

5ab829dc7913cacb454d05883ca6b9fc195d236e
 pdfresources.dtx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pdfresources.dtx b/pdfresources.dtx
index d46f71a..4eeab7f 100644
--- a/pdfresources.dtx
+++ b/pdfresources.dtx
@@ -2443,7 +2443,10 @@
                   {pdf at abspage}
                   {0}
               }
-            \@@_dict_gnew:n { backend_Page\l_@@_tmpa_tl/Resources/Properties }
+            \@@_dict_if_exist:nF { backend_Page\l_@@_tmpa_tl/Resources/Properties }
+              {
+                \@@_dict_gnew:n { backend_Page\l_@@_tmpa_tl/Resources/Properties }
+              }  
             \@@_dict_handler_put:nxx
               { backend_Page\l_@@_tmpa_tl/Resources/Properties }
               { l3pdf\int_use:N\g_@@_backend_resourceid_int }





More information about the latex3-commits mailing list.