[latex3-commits] [git/LaTeX3-latex3-latex3] dvips-pdfversion: Evaluate PDF version data as integers (c25c204a3)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Apr 21 09:59:14 CEST 2021
Repository : https://github.com/latex3/latex3
On branch : dvips-pdfversion
Link : https://github.com/latex3/latex3/commit/c25c204a3fbd13937ecc02f3e4baf3618db5e1aa
>---------------------------------------------------------------
commit c25c204a3fbd13937ecc02f3e4baf3618db5e1aa
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Apr 21 08:59:14 2021 +0100
Evaluate PDF version data as integers
>---------------------------------------------------------------
c25c204a3fbd13937ecc02f3e4baf3618db5e1aa
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.