Commit 5de3e20a authored by Monty's avatar Monty

Fix bug report from email from Barry Bouwsma; adds a space to end of

the oggenc encoding line for when ETA time gets smaller from a size
that overflows the time format.


svn path=/trunk/vorbis-tools/; revision=7179
parent 9b74fb68
......@@ -342,7 +342,7 @@ void update_statistics_full(char *fn, long total, long done, double time)
seconds = (int)(remain_time - (double)((int)remain_time/60)*60);
fprintf(stderr, "\r");
fprintf(stderr, _("\t[%5.1f%%] [%2dm%.2ds remaining] %c"),
fprintf(stderr, _("\t[%5.1f%%] [%2dm%.2ds remaining] %c "),
done*100.0/total, minutes, seconds, spinner[spinpoint++%4]);
}
......@@ -352,7 +352,7 @@ void update_statistics_notime(char *fn, long total, long done, double time)
static int spinpoint =0;
fprintf(stderr, "\r");
fprintf(stderr, _("\tEncoding [%2dm%.2ds so far] %c"),
fprintf(stderr, _("\tEncoding [%2dm%.2ds so far] %c "),
((int)time)/60, (int)(time - (double)((int)time/60)*60),
spinner[spinpoint++%4]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment