gbranden pushed a commit to branch master
in repository groff.
commit 931da6d4d0d67ae7d5741f6d502f6d01394b4975
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Jun 5 00:14:48 2024 -0500
[ms]: Fix Savannah #64005 (again).
* tmac/s.tmac (@break-page, bp): Fix thinko swapping the normal
and no-break control characters.
Fixes <https://savannah.gnu.org/bugs/?64005>. Thanks to Deri James for
catching this misbehavior.
---
ChangeLog | 10 ++++++++++
tmac/s.tmac | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bfa8503a7..f0bb1a51a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-06-05 G. Branden Robinson <[email protected]>
+
+ [ms]: Fix Savannah #64005 (again).
+
+ * tmac/s.tmac (@break-page, bp): Fix thinko swapping the normal
+ and no-break control characters.
+
+ Fixes <https://savannah.gnu.org/bugs/?64005>. Thanks to Deri
+ James for catching this misbehavior.
+
2024-06-05 G. Branden Robinson <[email protected]>
[ms]: Further regression-test Savannah #64005.
diff --git a/tmac/s.tmac b/tmac/s.tmac
index d3896c791..547eb9ec6 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -104,8 +104,8 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.de bp
. nr @saved-no-space-mode \\n[.ns]
. rs
-. ie \\n[.br] '@break-page \\$1
-. el .@break-page \\$1
+. ie \\n[.br] .@break-page \\$1
+. el '@break-page \\$1
. if \\n[@saved-no-space-mode] .ns
. rr @saved-no-space-mode
..
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit