Copy and paste bugs prevented the copy progress bar to function properly.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35128 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-01-17 18:39:05 +00:00
parent 0e848e2d69
commit 406799c165
+2 -2
View File
@@ -292,7 +292,7 @@ TrackerCopyLoopControl::TrackerCopyLoopControl(int32 totalItems,
fThread(find_thread(NULL)),
fSourceList(NULL)
{
Init(totalItems, totalItems);
Init(totalItems, totalSize);
}
@@ -316,7 +316,7 @@ TrackerCopyLoopControl::Init(int32 totalItems, off_t totalSize,
const entry_ref* destDir, bool showCount)
{
if (gStatusWindow != NULL) {
gStatusWindow->InitStatusItem(fThread, totalItems, totalItems,
gStatusWindow->InitStatusItem(fThread, totalItems, totalSize,
destDir, showCount);
}
}