groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: src/roff/troff/input.cpp: Fix diagnostic wording.


From: G. Branden Robinson
Subject: [groff] 01/01: src/roff/troff/input.cpp: Fix diagnostic wording.
Date: Fri, 3 Apr 2020 12:42:51 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 0a6b5ad4d64398d265b06235b62e5a89ca857ce9
Author: G. Branden Robinson <address@hidden>
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;
     }



reply via email to

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