Don't show the total number of items if 0 (as will happen in the case of move operations since we skip the pre-flight count for those). Fixes ticket #3722.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30140 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -528,7 +528,8 @@ BStatusView::InitStatus(int32 totalItems, off_t totalSize,
|
|||||||
}
|
}
|
||||||
|
|
||||||
BString buffer;
|
BString buffer;
|
||||||
buffer << "of " << totalItems;
|
if (totalItems > 0)
|
||||||
|
buffer << "of " << totalItems;
|
||||||
|
|
||||||
switch (fType) {
|
switch (fType) {
|
||||||
case kCopyState:
|
case kCopyState:
|
||||||
|
|||||||
Reference in New Issue
Block a user