]> diplodocus.org Git - nmh/commit
Use new PLURALS(n) macro instead of variety of tests.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 14 May 2017 10:23:33 +0000 (11:23 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 14 May 2017 10:23:33 +0000 (11:23 +0100)
commite9bab734900d62af2bf2fc873dd480e7503335b9
tree272bd86ab1a243511ec4a50de8ef6aadc335f143
parent237a4145c1557c7f6e950afbad4848504cc334b4
Use new PLURALS(n) macro instead of variety of tests.

Whether to output a plural noun in a message was decided by ternary
operators that tested n==1, n!=1, n>1, etc.  Make them all consistent by
using PLURALS(n).
h/mh.h
sbr/utils.c
uip/burst.c
uip/folder.c
uip/forw.c
uip/mhlsbr.c
uip/msgchk.c
uip/pick.c
uip/post.c