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

github at latex-project.org github at latex-project.org
Fri Mar 29 11:46:24 CET 2024


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

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

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

    Avoid an out-by-one error


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

3497cac9e6f7d32efb5c80b7902eb2efdaa7a143
 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.