Patch by Jeroen Oortwijn: Use the validated name instead of the original one.
Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31750 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2990bea766
commit
821d6af079
@ -806,7 +806,7 @@ MainWindow::_Initialize(BDiskDevice* disk, partition_id selectedPartition,
|
||||
BString previousName = partition->ContentName();
|
||||
|
||||
ret = partition->Initialize(diskSystem.PrettyName(),
|
||||
supportsName ? name.String() : NULL, parameters.String());
|
||||
supportsName ? validatedName.String() : NULL, parameters.String());
|
||||
if (ret != B_OK) {
|
||||
_DisplayPartitionError("Initialization of the partition %s "
|
||||
"failed. (Nothing has been written to disk.)", partition, ret);
|
||||
|
Loading…
Reference in New Issue
Block a user