[latex3-commits] [git/LaTeX3-latex3-latex3] master: Object compression should use a bool (12e5aae)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Jun 2 20:07:57 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/12e5aaeef9dad552933e525d87d39a1366e4d47b

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

commit 12e5aaeef9dad552933e525d87d39a1366e4d47b
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Jun 2 19:07:44 2019 +0100

    Object compression should use a bool


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

12e5aaeef9dad552933e525d87d39a1366e4d47b
 l3kernel/l3backend-pdf.dtx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3kernel/l3backend-pdf.dtx b/l3kernel/l3backend-pdf.dtx
index 4c4144e..ac05d8f 100644
--- a/l3kernel/l3backend-pdf.dtx
+++ b/l3kernel/l3backend-pdf.dtx
@@ -1541,7 +1541,7 @@
   }
 \cs_new_protected:Npn \@@_backend_compress_objects:n #1
   {
-    \str_if_eq:nnTF {#1} { true }
+    \bool_if:nTF {#1}
       { \@@_backend_objcompresslevel:n { 2 } }
       { \@@_backend_objcompresslevel:n { 0 } }
   }
@@ -1935,7 +1935,7 @@
   { \@@_literal:x { dvipdfmx:config~z~ \int_eval:n {#1} } }
 \cs_new_protected:Npn \@@_backend_compress_objects:n #1
   {
-    \str_if_eq:nnF {#1} { true }
+    \bool_if:nF {#1}
       { \@@_literal:n { dvipdfmx:config~C~0x40 } }
   }
 %    \end{macrocode}





More information about the latex3-commits mailing list