gbranden pushed a commit to branch master
in repository groff.

commit 0a6b5ad4d64398d265b06235b62e5a89ca857ce9
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Apr 4 03:41:09 2020 +1100

    src/roff/troff/input.cpp: Fix diagnostic wording.
    
    It's not the sign of escape argument that is the issue, but of the
    point-size value computed as a result.
---
 src/roff/troff/input.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index d9190fa..6f35dad 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -5135,7 +5135,7 @@ static int read_size(int *x)
     }
     if (*x <= 0) {
       warning(WARN_RANGE,
-             "point-size escape results in non-positive argument %1;"
+             "point-size escape results in non-positive size %1;"
              " set to 1", *x);
       *x = 1;
     }

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

Reply via email to