groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 26/60: src/roff/troff/env.cpp: Tweak diagnostic wording.


From: G. Branden Robinson
Subject: [groff] 26/60: src/roff/troff/env.cpp: Tweak diagnostic wording.
Date: Wed, 11 Sep 2024 03:38:31 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 4a3bd0dc261345363b62123595883407dc0ae006
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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;
     }
   }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]