[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/main/utils.c (is_content_empty):
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/main/utils.c (is_content_empty): fix condition. |
Date: |
Fri, 11 Oct 2024 04:43:28 -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 8f61513cf6 * tp/Texinfo/XS/main/utils.c (is_content_empty): fix
condition.
8f61513cf6 is described below
commit 8f61513cf68b15a46a33b5c5d887a0fc26a32857
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 11 10:43:19 2024 +0200
* tp/Texinfo/XS/main/utils.c (is_content_empty): fix condition.
---
ChangeLog | 4 ++++
tp/Texinfo/XS/main/utils.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 6b54088c7c..3638acd34e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-11-10 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/main/utils.c (is_content_empty): fix condition.
+
2024-11-10 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/DocumentXS.xs (gdt): add missing braces for
diff --git a/tp/Texinfo/XS/main/utils.c b/tp/Texinfo/XS/main/utils.c
index 357e944fe4..f9bbd9b223 100644
--- a/tp/Texinfo/XS/main/utils.c
+++ b/tp/Texinfo/XS/main/utils.c
@@ -1485,7 +1485,7 @@ is_content_empty (const ELEMENT *tree, int
do_not_ignore_index_entries)
{
const char *text = content->e.text->text;
/* only whitespace characters */
- if (! text[strspn (text, whitespace_chars)] == '\0')
+ if (text[strspn (text, whitespace_chars)] != '\0')
return 0;
else
continue;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/main/utils.c (is_content_empty): fix condition.,
Patrice Dumas <=