summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dimension/main.c5
1 files changed, 4 insertions, 1 deletions
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) {