gbranden pushed a commit to branch master
in repository groff.
commit 14eac3f9f8e506bb4c5d3077521d8e5a69709f6e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Aug 30 04:18:16 2024 -0500
[libgroff]: Tighten wording of error diagnostic.
* src/libs/libgroff/unicode.cpp (valid_unicode_code_sequence): Tighten
wording of error diagnostic.
---
ChangeLog | 5 +++++
src/libs/libgroff/unicode.cpp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 74345e2a7..94d591562 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-30 G. Branden Robinson <[email protected]>
+
+ * src/libs/libgroff/unicode.cpp (valid_unicode_code_sequence):
+ Tighten wording of error diagnostic.
+
2024-08-30 G. Branden Robinson <[email protected]>
* src/roff/troff/input.cpp (usage): Sync language with troff(1).
diff --git a/src/libs/libgroff/unicode.cpp b/src/libs/libgroff/unicode.cpp
index 97cde4469..757a73399 100644
--- a/src/libs/libgroff/unicode.cpp
+++ b/src/libs/libgroff/unicode.cpp
@@ -82,7 +82,7 @@ const char *valid_unicode_code_sequence(const char *u, char
*errbuf)
if (width < 4) {
if (errbuf != 0 /* nullptr */)
snprintf(errbuf, ERRBUFSZ, "Unicode special character sequence"
- " must be exactly 4 to 6 digits\n");
+ " must be 4..6 digits\n");
return 0 /* nullptr */;
}
else if ((width > 4) && ('0' == *u)) {
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit