From c7b562becf9c926f65b9845ed6cd1c3a4635cf83 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 14 Mar 2002 12:00:12 +0000 Subject: [PATCH] Correct the plural in "1 file to consider." (Greg Louis) --- flist.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flist.c b/flist.c index 151ae876..045c2f22 100644 --- a/flist.c +++ b/flist.c @@ -101,12 +101,13 @@ static void finish_filelist_progress(const struct file_list *flist) { if (do_progress) { /* This overwrites the progress line */ - rprintf(FINFO, "%d files to consider\n", flist->count); - } else + rprintf(FINFO, "%d file%sto consider\n", + flist->count, flist->count == 1 ? " " : "s "); + } else { rprintf(FINFO, "done\n"); + } } - void show_flist_stats(void) { /* Nothing yet */ -- 2.34.1