From b5cdaf06a9088e06fbb2ceee3850659e0737dac9 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Thu, 7 Jul 2005 13:19:37 +0000 Subject: [PATCH] Write "1 torrent." instead of "1 torrents.". --- cli/btcli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/btcli.c b/cli/btcli.c index b2f49bf..874ef6a 100644 --- a/cli/btcli.c +++ b/cli/btcli.c @@ -553,7 +553,7 @@ cmd_list(int argc, char **argv) printf("%s\n", path); free(path); } - printf("%d torrents.\n", count); + printf("%d torrent%s.\n", count, count == 1 ? "" : "s"); } static struct {