[latex3-commits] [git/LaTeX3-latex3-latex3] master: l3drivers: remove extra \c_space_tl (886746d)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Sep 10 12:52:50 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/886746d20258e26386078f2e9962d4165f5f28fd

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

commit 886746d20258e26386078f2e9962d4165f5f28fd
Author: minux <minux.ma at gmail.com>
Date:   Mon Sep 10 05:30:55 2018 -0400

    l3drivers: remove extra \c_space_tl
    
    \c_space_tl is passed to a function (\@@_color_select:n) which does not
    expand its argument, and results in xxx "color push \c_space_tl Black"
    with the dvipdfmx backend. \@@_color_select:n already inserts appropriate
    ~, so \c_space_tl is unnecessary anyway.


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

886746d20258e26386078f2e9962d4165f5f28fd
 l3kernel/l3drivers.dtx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index 36acdf2..282c83e 100644
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -678,7 +678,7 @@
       { rgb~ \fp_eval:n {#1} ~ \fp_eval:n {#2} ~ \fp_eval:n {#3} }
   }
 \cs_new_protected:Npn \driver_color_spot:nn #1#2
-  { \@@_color_select:n { \c_space_tl #1 } }
+  { \@@_color_select:n { #1 } }
 \cs_new_protected:Npn \@@_color_select:n #1
   {
     \@@_literal:n { color~push~ #1 }





More information about the latex3-commits mailing list