[latex3-commits] [latex3/latex3] object-tracking: Avoid an out-by-one error (ee9065f90)

github at latex-project.org github at latex-project.org
Mon Apr 1 09:18:41 CEST 2024


Repository : https://github.com/latex3/latex3
On branch  : object-tracking
Link       : https://github.com/latex3/latex3/commit/ee9065f906489b49a121d3d6eb5c6350bf8e6c53

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

commit ee9065f906489b49a121d3d6eb5c6350bf8e6c53
Author: Joseph Wright <joseph at texdev.net>
Date:   Fri Mar 29 10:46:24 2024 +0000

    Avoid an out-by-one error


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

ee9065f906489b49a121d3d6eb5c6350bf8e6c53
 l3kernel/l3pdf.dtx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3kernel/l3pdf.dtx b/l3kernel/l3pdf.dtx
index 8ab6c97fb..447ff1449 100644
--- a/l3kernel/l3pdf.dtx
+++ b/l3kernel/l3pdf.dtx
@@ -482,7 +482,7 @@
             }
             {
               \int_eval:n
-                { \int_mod:nn {#2} \c_@@_object_block_int }
+                { \int_mod:nn {#2} \c_@@_object_block_int } + 1
             }
       }
   }





More information about the latex3-commits mailing list.