[latex3-commits] [latex3/latex3] develop, main: Avoid an out-by-one error (c70e6ba98)

github at latex-project.org github at latex-project.org
Tue Apr 9 16:17:02 CEST 2024


Repository : https://github.com/latex3/latex3
On branches: develop,main
Link       : https://github.com/latex3/latex3/commit/c70e6ba98bc3f9224eb05445f8c75dd855d3b3da

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

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

    Avoid an out-by-one error


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

c70e6ba98bc3f9224eb05445f8c75dd855d3b3da
 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.