gbranden pushed a commit to branch master
in repository groff.
commit b3ddd51d7acfc3bf882544893e7613cccebb488c
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ * src/roff/troff/node.cpp (select_underline_font)
+ (set_font_specific_special_fonts): Tweak diagnostic messages.
+
2023-12-02 G. Branden Robinson <[email protected]>
* 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;
}
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit