diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-03-11 10:30:33 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-03-11 10:30:33 -0500 |
commit | c17f0df55965996ce3b3652ef472941b4b439187 (patch) | |
tree | fc7b4f56f8e0fab9b2e42216b354bdd2ce4ebc91 /dimension | |
parent | 61e38c95e5a0819816245ad1d2a518520234b064 (diff) | |
download | dimension-c17f0df55965996ce3b3652ef472941b4b439187.tar.xz |
Say "1 thread" instead of "1 threads".
Diffstat (limited to 'dimension')
-rw-r--r-- | dimension/main.c | 5 |
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) { |