From 237a4145c1557c7f6e950afbad4848504cc334b4 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sat, 13 May 2017 23:40:50 +0100 Subject: [PATCH] uip/folder.c: Use `%s' for plural, not `%c'. Instead of a ternary operator with 's' and ' ' as the outcomes, switch the format specifier from `%c' to `%s' and use strings "s" and " ". --- uip/folder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uip/folder.c b/uip/folder.c index 68e9182d..5fd411cd 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -591,8 +591,8 @@ print_folders (void) if (ftotal > 0 || (all && !fshort && ftotal >= 0)) { if (all) putchar('\n'); - printf ("TOTAL = %d message%c in %d folder%s.\n", - total_msgs, total_msgs != 1 ? 's' : ' ', + printf ("TOTAL = %d message%s in %d folder%s.\n", + total_msgs, total_msgs != 1 ? "s" : "", total_folders, total_folders != 1 ? "s" : ""); } -- 2.56.0