summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
de237d4)
Instead of a ternary operator with 's' and ' ' as the outcomes, switch
the format specifier from `%c' to `%s' and use strings "s" and " ".
if (ftotal > 0 || (all && !fshort && ftotal >= 0)) {
if (all)
putchar('\n');
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" : "");
}
total_folders, total_folders != 1 ? "s" : "");
}