diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx b/Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx index e5c2ab164f4..12da7598665 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3candidates.dtx @@ -1865,10 +1865,14 @@ } \cs_new_protected:Npn \@@_find_corner_maxima_aux:nn #1#2 { - \dim_set_min:Nn \l_@@_left_corner_dim {#1} - \dim_set_max:Nn \l_@@_right_corner_dim {#1} - \dim_set_min:Nn \l_@@_bottom_corner_dim {#2} - \dim_set_max:Nn \l_@@_top_corner_dim {#2} + \dim_set:Nn \l_@@_left_corner_dim + { \dim_min:nn { \l_@@_left_corner_dim } {#1} } + \dim_set:Nn \l_@@_right_corner_dim + { \dim_max:nn { \l_@@_right_corner_dim } {#1} } + \dim_set:Nn \l_@@_bottom_corner_dim + { \dim_min:nn { \l_@@_bottom_corner_dim } {#2} } + \dim_set:Nn \l_@@_top_corner_dim + { \dim_max:nn { \l_@@_top_corner_dim } {#2} } } % \end{macrocode} % \end{macro} @@ -1887,7 +1891,10 @@ { \@@_find_bounding_shift_aux:nn ##2 } } \cs_new_protected:Npn \@@_find_bounding_shift_aux:nn #1#2 - { \dim_set_min:Nn \l_@@_bounding_shift_dim {#1} } + { + \dim_set:Nn \l_@@_bounding_shift_dim + { \dim_min:nn { \l_@@_bounding_shift_dim } {#1} } + } % \end{macrocode} % \end{macro} % \end{macro} |