[latex3-commits] [l3svn] 01/04: Reorder arguments for an internal macro

noreply at latex-project.org noreply at latex-project.org
Wed Oct 11 09:45:38 CEST 2017


This is an automated email from the git hooks/post-receive script.

joseph pushed a commit to branch master
in repository l3svn.

commit 624372b623333d780250139d444a7631fd56cc9c
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Oct 11 08:40:43 2017 +0100

    Reorder arguments for an internal macro
---
 l3trial/l3color-extra/l3color-extra.dtx |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/l3trial/l3color-extra/l3color-extra.dtx b/l3trial/l3color-extra/l3color-extra.dtx
index 7d1c805..9b6f5ad 100644
--- a/l3trial/l3color-extra/l3color-extra.dtx
+++ b/l3trial/l3color-extra/l3color-extra.dtx
@@ -528,15 +528,15 @@
 %    \end{macrocode}
 % \end{variable}
 %
-% \begin{macro}{\@@_store:nN}
+% \begin{macro}{\@@_store:Nn}
 %   Store the named color unless it has an invalid name.
 %     \begin{macrocode}
-\cs_new_protected:Npn \@@_store:nN #1#2
+\cs_new_protected:Npn \@@_store:Nn #1#2
   {
-    \str_if_eq:nnF {#1} { . }
+    \str_if_eq:nnF {#2} { . }
       {
-        \tl_clear_new:c { l_@@_named_ #1 _tl }
-        \tl_set_eq:cN { l_@@_named_ #1 _tl } #2
+        \tl_clear_new:c { l_@@_named_ #2 _tl }
+        \tl_set_eq:cN { l_@@_named_ #2 _tl } #1
       }
   }
 %    \end{macrocode}
@@ -551,12 +551,12 @@
 \cs_new_protected:Npn \color_set:nn #1#2
   {
     \@@_parse:nN {#2} \l_@@_named_tl
-    \@@_store:nN {#1} \l_@@_named_tl
+    \@@_store:Nn \l_@@_named_tl {#1}
   }
 \cs_new_protected:Npn \color_set:nnn #1
   {
     \@@_direct:nnN {#2} {#3} \l_@@_named_tl
-    \@@_store:nN  {#1} \l_@@_named_tl
+    \@@_store:Nn \l_@@_named_tl {#1}
   }
 \cs_new_protected:Npn \color_set_eq:nn #1#2
   {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the latex3-commits mailing list