(panel_operate): use intermediate variable for better indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2024-09-12 17:14:57 +03:00
parent e2ca50418d
commit 07ea52d767

View File

@ -3606,8 +3606,9 @@ panel_operate (void *source_panel, FileOperation operation, gboolean force_singl
* some directory movements can be a cross-filesystem and directory scanning is useful * some directory movements can be a cross-filesystem and directory scanning is useful
* for those directories only. */ * for those directories only. */
if (panel_operate_init_totals (panel, NULL, NULL, ctx, file_op_compute_totals, dialog_type) value =
== FILE_CONT) panel_operate_init_totals (panel, NULL, NULL, ctx, file_op_compute_totals, dialog_type);
if (value == FILE_CONT)
{ {
/* Loop for every file, perform the actual copy operation */ /* Loop for every file, perform the actual copy operation */
for (i = 0; i < panel->dir.len; i++) for (i = 0; i < panel->dir.len; i++)