groff-commit
[Top][All Lists]
Advanced

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

[groff] 13/15: squash [libgroff]: Add information to diagnostics.


From: G. Branden Robinson
Subject: [groff] 13/15: squash [libgroff]: Add information to diagnostics.
Date: Fri, 17 Sep 2021 05:34:39 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit eddf6f1f0a92f746ecc632c9308b5a220539921b
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Sep 17 17:58:59 2021 +1000

    squash [libgroff]: Add information to diagnostics.
---
 src/libs/libgroff/font.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libs/libgroff/font.cpp b/src/libs/libgroff/font.cpp
index 99aa640..3eea8e1 100644
--- a/src/libs/libgroff/font.cpp
+++ b/src/libs/libgroff/font.cpp
@@ -1001,8 +1001,8 @@ bool font::load(int *not_found, bool head_only)
        }
       }
       else {
-       t.error("unrecognised directive '%1' after 'kernpairs' or"
-               " 'charset' directive", command);
+       t.error("unrecognized directive '%1' after 'kernpairs' or"
+               " 'charset' directive", directive);
        return false;
       }
     }



reply via email to

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