texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/main/convert_to_text.c (convert_t


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/main/convert_to_text.c (convert_to_text_internal): fix condition to be cmd is CM_item and not there is a cmd.
Date: Fri, 11 Oct 2024 04:46:52 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new f1bb2bb849 * tp/Texinfo/XS/main/convert_to_text.c 
(convert_to_text_internal): fix condition to be cmd is CM_item and not there is 
a cmd.
f1bb2bb849 is described below

commit f1bb2bb8492a77757089f9e9308715307ac8478c
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 11 10:46:43 2024 +0200

    * tp/Texinfo/XS/main/convert_to_text.c (convert_to_text_internal): fix
    condition to be cmd is CM_item and not there is a cmd.
---
 ChangeLog                            | 5 +++++
 tp/Texinfo/XS/main/convert_to_text.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 3638acd34e..722e404dc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-11-10  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/main/convert_to_text.c (convert_to_text_internal): fix
+       condition to be cmd is CM_item and not there is a cmd.
+
 2024-11-10  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/main/utils.c (is_content_empty): fix condition.
diff --git a/tp/Texinfo/XS/main/convert_to_text.c 
b/tp/Texinfo/XS/main/convert_to_text.c
index ac39b0de40..7fd52a14f7 100644
--- a/tp/Texinfo/XS/main/convert_to_text.c
+++ b/tp/Texinfo/XS/main/convert_to_text.c
@@ -984,7 +984,7 @@ convert_to_text_internal (const ELEMENT *element, 
TEXT_OPTIONS *text_options,
               destroy_element_and_children (verbatim_include_verbatim);
             }
         }
-      else if (element->e.c->cmd && CM_item
+      else if (element->e.c->cmd == CM_item
                && element->parent->e.c->cmd == CM_enumerate)
         {
           int status;



reply via email to

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