[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/xspara.c (xspara_add_text) <space
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/Texinfo/XS/xspara.c (xspara_add_text) <space>, * tp/Texinfo/Convert/ParagraphNonXS.pm (add_text) <space>: Remove extra call to _add_pending_word or xspara__add_pending_word. |
Date: |
Sun, 11 Dec 2022 13:07:28 -0500 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 008b210d04 * tp/Texinfo/XS/xspara.c (xspara_add_text) <space>, *
tp/Texinfo/Convert/ParagraphNonXS.pm (add_text) <space>: Remove extra call to
_add_pending_word or xspara__add_pending_word.
008b210d04 is described below
commit 008b210d0486156b18934d782de0872f5a5adbbe
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Dec 11 18:07:03 2022 +0000
* tp/Texinfo/XS/xspara.c (xspara_add_text) <space>,
* tp/Texinfo/Convert/ParagraphNonXS.pm (add_text) <space>:
Remove extra call to _add_pending_word or xspara__add_pending_word.
---
ChangeLog | 6 ++++++
tp/Texinfo/Convert/ParagraphNonXS.pm | 1 -
tp/Texinfo/XS/xspara.c | 1 -
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c24b887f69..a436f3ea8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-12-11 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/XS/xspara.c (xspara_add_text) <space>,
+ * tp/Texinfo/Convert/ParagraphNonXS.pm (add_text) <space>:
+ Remove extra call to _add_pending_word or xspara__add_pending_word.
+
2022-12-11 Gavin Smith <gavinsmith0123@gmail.com>
* tp/Texinfo/XS/xspara.c (xspara_add_text): Make the same change
diff --git a/tp/Texinfo/Convert/ParagraphNonXS.pm
b/tp/Texinfo/Convert/ParagraphNonXS.pm
index dd0e0633ff..e99aacf7e1 100644
--- a/tp/Texinfo/Convert/ParagraphNonXS.pm
+++ b/tp/Texinfo/Convert/ParagraphNonXS.pm
@@ -332,7 +332,6 @@ sub add_text($$)
if ($paragraph->{'unfilled'}) {
$result .= _add_pending_word($paragraph);
if ($spaces =~ /\n/) {
- $result .= _add_pending_word ($paragraph);
$result .= _end_line ($paragraph);
} else {
$paragraph->{'space'} .= $spaces;
diff --git a/tp/Texinfo/XS/xspara.c b/tp/Texinfo/XS/xspara.c
index d9469e644f..db618e8b39 100644
--- a/tp/Texinfo/XS/xspara.c
+++ b/tp/Texinfo/XS/xspara.c
@@ -847,7 +847,6 @@ xspara_add_text (char *text)
xspara__add_pending_word (&result, 0);
if (*p == '\n')
{
- xspara__add_pending_word (&result, 0);
xspara__end_line ();
text_append (&result, "\n");
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/xspara.c (xspara_add_text) <space>, * tp/Texinfo/Convert/ParagraphNonXS.pm (add_text) <space>: Remove extra call to _add_pending_word or xspara__add_pending_word.,
Gavin D. Smith <=