template.c: clarify the order of operations (2)
This commit is contained in:
parent
0b5f018e4f
commit
c2791ce3fc
@ -146,7 +146,7 @@ main(void)
|
|||||||
// 6. log
|
// 6. log
|
||||||
#if VERBOSE_MODE
|
#if VERBOSE_MODE
|
||||||
if (w % FREQUENCY_OF_STATUS_REPORTING == 0 ||
|
if (w % FREQUENCY_OF_STATUS_REPORTING == 0 ||
|
||||||
w >= PRODUCT - 1 /* or if writing last sample */) {
|
w >= (PRODUCT - 1) /* or if writing last sample */) {
|
||||||
printf(
|
printf(
|
||||||
"%sremaining samples = %18" PRIuMAX " (%.2Lf%% done)",
|
"%sremaining samples = %18" PRIuMAX " (%.2Lf%% done)",
|
||||||
ANSI_CLEAR,
|
ANSI_CLEAR,
|
||||||
|
Loading…
Reference in New Issue
Block a user