From c17f0df55965996ce3b3652ef472941b4b439187 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 11 Mar 2010 10:30:33 -0500 Subject: Say "1 thread" instead of "1 threads". --- dimension/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dimension/main.c') diff --git a/dimension/main.c b/dimension/main.c index 1dc24d1..53b8288 100644 --- a/dimension/main.c +++ b/dimension/main.c @@ -277,7 +277,10 @@ main(int argc, char **argv) { return EXIT_FAILURE; } - dmnsn_progressbar("Rendering scene with %u threads", render_progress, + dmnsn_progressbar(scene->nthreads > 1 + ? "Rendering scene with %u threads" + : "Rendering scene with %u thread", + render_progress, scene->nthreads); if (dmnsn_finish_progress(render_progress) != 0) { -- cgit v1.2.3