groff-commit
[Top][All Lists]
Advanced

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

[groff] 13/23: [troff]: Tweak diagnostic message.


From: G. Branden Robinson
Subject: [groff] 13/23: [troff]: Tweak diagnostic message.
Date: Thu, 23 Sep 2021 08:12:35 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

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



reply via email to

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