gbranden pushed a commit to branch master
in repository groff.

commit 0416b7125b808d5f77c27c6d952d3269083abb58
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 16 17:12:29 2025 -0600

    [troff]: Clarify `ls` request diagnostic message.
    
    * src/roff/troff/env.cpp (line_spacing): Clarify diagnostic message.
---
 ChangeLog              | 5 +++++
 src/roff/troff/env.cpp | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 73bb1caf8..9a9afdb1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-11-16  G. Branden Robinson <[email protected]>
+
+       * src/roff/troff/env.cpp (line_spacing): Clarify diagnostic
+       message.
+
 2025-11-16  G. Branden Robinson <[email protected]>
 
        [troff]: Trivially refactor.  Rename `get_integer()` to
diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index d47ce17b9..f8b5fc3a2 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -1566,7 +1566,8 @@ void line_spacing()
   int temp;
   if (has_arg() && read_integer(&temp)) {
     if (temp < 1) {
-      warning(WARN_RANGE, "value %1 out of range: interpreted as 1", temp);
+      warning(WARN_RANGE, "line spacing value '%1' is out of range;"
+             " assuming '1'", temp);
       temp = 1;
     }
   }

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

Reply via email to