texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Sun, 29 Sep 2024 06:05:59 -0400 (EDT)

branch: master
commit 15b8ad7417eeac0ab42fd3332e80d655ca596a48
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Jun 16 12:20:27 2024 +0200

    * tp/Texinfo/XS/structuring_transfo/transformations.c
    (move_index_entries_after_items): fix condition.
---
 ChangeLog                                           | 5 +++++
 tp/Texinfo/XS/structuring_transfo/transformations.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 8b64ec6f58..d70cdd8be2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,11 @@
        * tp/Texinfo/XS/convert/convert_html.c (html_command_description):
        update for move of cmd to CONTAINER.
 
+2024-06-16  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/structuring_transfo/transformations.c
+       (move_index_entries_after_items): fix condition.
+
 2024-06-16  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/structuring_transfo/transformations.c
diff --git a/tp/Texinfo/XS/structuring_transfo/transformations.c 
b/tp/Texinfo/XS/structuring_transfo/transformations.c
index 00f653a94f..962eb492d4 100644
--- a/tp/Texinfo/XS/structuring_transfo/transformations.c
+++ b/tp/Texinfo/XS/structuring_transfo/transformations.c
@@ -480,7 +480,7 @@ move_index_entries_after_items (ELEMENT *current)
               ELEMENT *content = 
previous_ending_container->e.c->contents.list[j];
               if (content->type == ET_index_entry_command)
                 last_entry_idx = j;
-              else if ((!type_data[content->type].flags & TF_at_command)
+              else if ((!(type_data[content->type].flags & TF_at_command))
                        || (content->e.c->cmd != CM_comment
                            && content->e.c->cmd != CM_c))
                 break;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]