[gnome-commander] Fix for calculation of total bytes to be transfered



commit 41d61a47b79642d4caec8ed2bdc68a657d12323b
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun Jul 17 12:44:54 2022 +0200

    Fix for calculation of total bytes to be transfered

 src/gnome-cmd-xfer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnome-cmd-xfer.cc b/src/gnome-cmd-xfer.cc
index 80e923ae..057c8224 100644
--- a/src/gnome-cmd-xfer.cc
+++ b/src/gnome-cmd-xfer.cc
@@ -617,7 +617,7 @@ set_files_total(XferData *xferData)
            nullptr,
            &numFiles,
            nullptr);
-        xferData->bytesTotal = diskUsage;
+        xferData->bytesTotal += diskUsage;
         xferData->filesTotal += numFiles;
     }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]