[haiku-commits] r35128 - haiku/trunk/src/kits/tracker

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 17 Jan 2010 19:39:05 +0100 (CET)

Author: stippi
Date: 2010-01-17 19:39:05 +0100 (Sun, 17 Jan 2010)
New Revision: 35128
Changeset: http://dev.haiku-os.org/changeset/35128/haiku

Modified:
   haiku/trunk/src/kits/tracker/FSUtils.cpp
Log:
Copy and paste bugs prevented the copy progress bar to function properly.


Modified: haiku/trunk/src/kits/tracker/FSUtils.cpp
===================================================================
--- haiku/trunk/src/kits/tracker/FSUtils.cpp    2010-01-17 18:27:21 UTC (rev 
35127)
+++ haiku/trunk/src/kits/tracker/FSUtils.cpp    2010-01-17 18:39:05 UTC (rev 
35128)
@@ -292,7 +292,7 @@
        fThread(find_thread(NULL)),
        fSourceList(NULL)
 {
-       Init(totalItems, totalItems);
+       Init(totalItems, totalSize);
 }
 
 
@@ -316,7 +316,7 @@
        const entry_ref* destDir, bool showCount)
 {
        if (gStatusWindow != NULL) {
-               gStatusWindow->InitStatusItem(fThread, totalItems, totalItems,
+               gStatusWindow->InitStatusItem(fThread, totalItems, totalSize,
                        destDir, showCount);
        }
 }


Other related posts:

  • » [haiku-commits] r35128 - haiku/trunk/src/kits/tracker - superstippi