Welcome to little lamb

Code » qmdoc » commit 7a40822

Minor tweak

author Olivier Brunel
2023-07-08 17:52:50 UTC
committer Olivier Brunel
2023-07-10 09:31:21 UTC
parent ab7d009a6078345b0d676e96904113a23f54ad69

Minor tweak

src/qmdoc/qmdoc.c +2 -1

diff --git a/src/qmdoc/qmdoc.c b/src/qmdoc/qmdoc.c
index 9ff6b2a..06e8e16 100644
--- a/src/qmdoc/qmdoc.c
+++ b/src/qmdoc/qmdoc.c
@@ -2444,7 +2444,8 @@ main (int argc, const char *argv[])
     outmsg(OLVL_QUIET, PMUINT(NB_PAGES(&ctx)),
            PMLEN(" files", (NB_PAGES(&ctx) > 1) ? 6 : 5), " written");
     r = NB_ENTRIES(&ctx) - NB_PAGES(&ctx) - !(ctx.doc.flags & DOC_FULL_TOC);
-    if (r) outmsg(OLVL_QUIET, " (", PMUINT(r), " links processed)");
+    if (r) outmsg(OLVL_QUIET, " (", PMUINT(r), PMLEN(" links", (r > 1) ? 6 : 5),
+                  " processed)");
     quiet(".");
 
     stralloc_free(&ctx.buf.sa);