[latex3-commits] [l3svn] 03/04: Dim comparison has no special 'if zero'

noreply at latex-project.org noreply at latex-project.org
Sun Sep 10 18:29:47 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 840ee90b4675f60a0c30802a6fdafc52692a2830
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Sun Sep 10 16:41:14 2017 +0100

    Dim comparison has no special 'if zero'
---
 l3trial/l3image/l3image.dtx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3trial/l3image/l3image.dtx b/l3trial/l3image/l3image.dtx
index 89d260a..448baca 100644
--- a/l3trial/l3image/l3image.dtx
+++ b/l3trial/l3image/l3image.dtx
@@ -310,9 +310,9 @@
           }
       }
     \ior_close:N \exp_not:N \l_@@_tmp_ior
-    \dim_if_zero:NF \l__image_llx_dim
+    \dim_compare:nNnF \l__image_llx_dim = { 0pt }
       { \dim_const:cn { c_@@_ #3#4 _llx_dim } { \l__image_llx_dim } }
-    \dim_if_zero:NF \l__image_lly_dim
+    \dim_if_zero:nNnF \l__image_lly_dim = { 0pt }
       { \dim_const:cn { c_@@_ #3#4 _lly_dim } { \l__image_lly_dim } }
     \dim_const:cn { c_@@_ #3#4 _urx_dim } { \l__image_urx_dim }
     \dim_const:cn { c_@@_ #3#4 _ury_dim } { \l__image_ury_dim }

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


More information about the latex3-commits mailing list