Size ContentSize() seems to be unreliable for read-only media, and also since

we may allow initializing partitions from within the Installer, it's better to
use Size() for now. Should fix the CD install source to display as 800 +some
Bytes.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32848 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-08-31 09:58:25 +00:00
parent da268834ab
commit 8028111912

View File

@ -466,7 +466,7 @@ make_partition_label(BPartition* partition, char* label, char* menuLabel,
bool showContentType) bool showContentType)
{ {
char size[15]; char size[15];
SizeAsString(partition->ContentSize(), size); SizeAsString(partition->Size(), size);
BPath path; BPath path;
partition->GetPath(&path); partition->GetPath(&path);