gbranden pushed a commit to branch master
in repository groff.

commit 4a3bd0dc261345363b62123595883407dc0ae006
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Sep 9 15:42:44 2024 -0500

    src/roff/troff/env.cpp: Tweak diagnostic wording.
---
 src/roff/troff/env.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 02ec02654..b2564ab07 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -1529,7 +1529,7 @@ void vertical_spacing()
   vunits temp;
   if (has_arg() && get_vunits(&temp, 'p', curenv->vertical_spacing)) {
     if (temp < V0) {
-      warning(WARN_RANGE, "vertical spacing must not be negative");
+      warning(WARN_RANGE, "vertical spacing must be nonnegative");
       temp = vresolution;
     }
   }
@@ -1543,10 +1543,10 @@ void vertical_spacing()
 void post_vertical_spacing()
 {
   vunits temp;
-  if (has_arg() && get_vunits(&temp, 'p', curenv->post_vertical_spacing)) {
+  if (has_arg() && get_vunits(&temp, 'p',
+                             curenv->post_vertical_spacing)) {
     if (temp < V0) {
-      warning(WARN_RANGE,
-             "post vertical spacing must be greater than or equal to 0");
+      warning(WARN_RANGE, "post-vertical spacing must be nonnegative");
       temp = V0;
     }
   }

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

Reply via email to