mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
(file_progress_show_total): use 'copied_bytes' to show numeric value.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
2b1a63aef3
commit
6ba3cc68c0
@ -1159,7 +1159,7 @@ file_progress_show_total (file_op_context_t *ctx, uintmax_t copied_bytes, gboole
|
|||||||
|
|
||||||
if (ui->total_bytes_label != NULL)
|
if (ui->total_bytes_label != NULL)
|
||||||
{
|
{
|
||||||
size_trunc_len (buffer2, 5, ctx->total_progress_bytes, 0, panels_options.kilobyte_si);
|
size_trunc_len (buffer2, 5, copied_bytes, 0, panels_options.kilobyte_si);
|
||||||
|
|
||||||
if (!ctx->totals_computed)
|
if (!ctx->totals_computed)
|
||||||
hline_set_textv (ui->total_bytes_label, _(" Total: %s "), buffer2);
|
hline_set_textv (ui->total_bytes_label, _(" Total: %s "), buffer2);
|
||||||
|
Loading…
Reference in New Issue
Block a user