(file_progress_show_total): use 'copied_bytes' to show numeric value.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2024-09-09 18:11:36 +03:00
parent 2b1a63aef3
commit 6ba3cc68c0

View File

@ -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);