template.c: reformat (omit curly brackets)
This commit is contained in:
parent
da9b92c30b
commit
f3f3d49bfa
@ -90,7 +90,7 @@ main(void)
|
|||||||
IS_SIGNED ? "" : "un",
|
IS_SIGNED ? "" : "un",
|
||||||
BIT_DEPTH);
|
BIT_DEPTH);
|
||||||
|
|
||||||
if (seconds > 0) {
|
if (seconds > 0)
|
||||||
if (seconds >= 3600)
|
if (seconds >= 3600)
|
||||||
printf(
|
printf(
|
||||||
"%" PRIuMAX ":%02" PRIuMAX ":%02" PRIuMAX,
|
"%" PRIuMAX ":%02" PRIuMAX ":%02" PRIuMAX,
|
||||||
@ -101,7 +101,6 @@ main(void)
|
|||||||
printf("%" PRIuMAX ":%02" PRIuMAX, seconds / 60, seconds % 60);
|
printf("%" PRIuMAX ":%02" PRIuMAX, seconds / 60, seconds % 60);
|
||||||
else
|
else
|
||||||
printf("%" PRIuMAX " seconds", seconds);
|
printf("%" PRIuMAX " seconds", seconds);
|
||||||
}
|
|
||||||
|
|
||||||
if (seconds > 0 && samples > 0)
|
if (seconds > 0 && samples > 0)
|
||||||
printf(" + ");
|
printf(" + ");
|
||||||
|
Loading…
Reference in New Issue
Block a user