gbranden pushed a commit to branch master
in repository groff.
commit 67ca8113cfd7eebf51ae85ed154b6e1fab3a6f80
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Sep 23 12:40:44 2026 -0500
[grohtml]: Improve diagnostic message.
* src/preproc/html/pre-html.cpp (imageList::createImage): Recast
diagnostic message to identify its severity.
---
ChangeLog | 5 +++++
src/preproc/html/pre-html.cpp | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4ed59937e..980fbb9c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-09-23 G. Branden Robinson <[email protected]>
+
+ * src/preproc/html/pre-html.cpp (imageList::createImage): Recast
+ diagnostic message to identify its severity.
+
2026-09-23 G. Branden Robinson <[email protected]>
* src/preproc/html/pre-html.cpp (imageList::createImage): Add
diff --git a/src/preproc/html/pre-html.cpp b/src/preproc/html/pre-html.cpp
index fdb861356..d55f29c26 100644
--- a/src/preproc/html/pre-html.cpp
+++ b/src/preproc/html/pre-html.cpp
@@ -1076,8 +1076,8 @@ void imageList::createImage(imageItem *i)
free(const_cast<char *>(s));
}
else {
- fprintf(stderr, "%s: failed to generate image of page %d\n",
- program_name, i->pageNo);
+ fprintf(stderr, "%s: error: unable to generate raster image"
+ " of page %d\n", program_name, i->pageNo);
fflush(stderr);
}
#if defined(DEBUGGING)
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit