[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 04/14: [troff]: Tweak diagnostic messages.
From: |
G. Branden Robinson |
Subject: |
[groff] 04/14: [troff]: Tweak diagnostic messages. |
Date: |
Fri, 8 Dec 2023 18:15:29 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit b3ddd51d7acfc3bf882544893e7613cccebb488c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Dec 2 15:34:14 2023 -0600
[troff]: Tweak diagnostic messages.
* src/roff/troff/node.cpp (select_underline_font)
(set_font_specific_special_fonts): Tweak diagnostic messages.
---
ChangeLog | 5 +++++
src/roff/troff/node.cpp | 6 +++---
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 50f40e0b6..b434ea63d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-12-02 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * src/roff/troff/node.cpp (select_underline_font)
+ (set_font_specific_special_fonts): Tweak diagnostic messages.
+
2023-12-02 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/roff/troff/node.cpp (set_special_fonts): Revert part of
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index f97a79595..8231f5759 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -6248,8 +6248,8 @@ static int underline_fontno = 2;
static void select_underline_font()
{
if (!has_arg()) {
- warning(WARN_MISSING, "underline font selection request expects"
- " arguments");
+ warning(WARN_MISSING, "underline font selection request expects an"
+ " argument");
skip_line();
return;
}
@@ -6349,7 +6349,7 @@ static void set_font_specific_special_fonts()
{
if (!has_arg()) {
warning(WARN_MISSING, "font-specific special font configuration"
- " request expects one or more arguments");
+ " request expects at least one argument");
skip_line();
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 04/14: [troff]: Tweak diagnostic messages.,
G. Branden Robinson <=