[latex3-commits] [git/LaTeX3-latex3-latex3] main: Evaluate PDF version data as integers (0aa128816)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Apr 21 11:57:44 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/0aa12881601ac2ceb1c58647111e857d3191058e

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

commit 0aa12881601ac2ceb1c58647111e857d3191058e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Apr 21 08:59:14 2021 +0100

    Evaluate PDF version data as integers


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

0aa12881601ac2ceb1c58647111e857d3191058e
 l3backend/l3backend-pdf.dtx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3backend/l3backend-pdf.dtx b/l3backend/l3backend-pdf.dtx
index 178271ac6..ae2a2b915 100644
--- a/l3backend/l3backend-pdf.dtx
+++ b/l3backend/l3backend-pdf.dtx
@@ -725,11 +725,11 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_backend_version_major_gset:n #1
   {
-    \cs_gset:Npn \@@_backend_version_major: { #1 }
+    \cs_gset:Npx \@@_backend_version_major: { \int_eval:n {#1} }
   }
 \cs_new_protected:Npn \@@_backend_version_minor_gset:n #1
   {
-    \cs_gset:Npn \@@_backend_version_minor: { #1 }
+    \cs_gset:Npx \@@_backend_version_minor: { \int_eval:n {#1} }
   }
 %    \end{macrocode}
 % \end{macro}





More information about the latex3-commits mailing list.