mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Minor output fix to prevent %% showing when one thread changes from 100% to be replaced with 10%.
This commit is contained in:
parent
9c8b1ee795
commit
aa9056b461
|
|
@ -1605,7 +1605,7 @@ static void decompress(FILE *in, FILE *out, FILE *msgout, long long int buf_len,
|
|||
fprintf(msgout, "\r\t\t\t\tZPAQ\t");
|
||||
for (i = 0; i < thread; i++)
|
||||
fprintf(msgout, "\t");
|
||||
fprintf(msgout, "%ld: %i%%\r",
|
||||
fprintf(msgout, "%ld: %i%% \r",
|
||||
thread + 1, pct);
|
||||
fflush(msgout);
|
||||
last_pct = pct;
|
||||
|
|
@ -1742,7 +1742,7 @@ static void compress(FILE *in, FILE *out, FILE *msgout, long long int buf_len,
|
|||
fprintf(msgout, "\r\t\t\t\tZPAQ\t");
|
||||
for (i = 0; i < thread; i++)
|
||||
fprintf(msgout, "\t");
|
||||
fprintf(msgout, "%ld: %i%%\r",
|
||||
fprintf(msgout, "%ld: %i%% \r",
|
||||
thread + 1, pct);
|
||||
fflush(msgout);
|
||||
last_pct = pct;
|
||||
|
|
|
|||
Loading…
Reference in a new issue