gbranden pushed a commit to branch master
in repository groff.

commit 35f26ea2b71be984b5d5a20c43d2a6471c553437
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Sep 23 12:36:13 2021 +1000

    [troff]: Tweak diagnostic message.
    
    The novice user might wonder "family of what?".
---
 src/roff/troff/env.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp
index 624c2fe..14d45e1 100644
--- a/src/roff/troff/env.cpp
+++ b/src/roff/troff/env.cpp
@@ -716,7 +716,8 @@ environment::environment(symbol nm)
   if (!is_good_fontno(1))
     fatal("font mounted at position 1 is not valid");
   if (family->make_definite(1) < 0)
-    fatal("invalid default family '%1'", default_family.contents());
+    fatal("invalid default font family '%1'",
+         default_family.contents());
   prev_fontno = fontno;
 }
 

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

Reply via email to