gbranden pushed a commit to branch master
in repository groff.

commit 75084a3a4f622fae8f43a9c747894c8b34392134
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 23 11:18:16 2025 -0600

    src/roff/troff/input.cpp: Fix assertion message.
    
    * src/roff/troff/input.cpp (do_translate): Fix copy-and-paste braino in
      assertion message.
---
 ChangeLog                | 5 +++++
 src/roff/troff/input.cpp | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c0c8ce19c..7c4019ca8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-11-23  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/input.cpp (do_translate): Fix copy-and-paste
+       braino in assertion message.
+
 2025-11-21  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/node.cpp (remove_font_specific_character):
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 2c9928a85..848c70606 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -8376,8 +8376,8 @@ static void do_translate(bool transparently, bool 
as_input)
     }
     charinfo *ci1 = tok.get_charinfo(true /* required */);
     if (0 /* nullptr */ == ci1) {
-      assert(0 == "attempted to use token without charinfo in title"
-            " formatting request");
+      assert(0 == "attempted to use token without charinfo in character"
+            " translation request");
       break;
     }
     tok.next();

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to