Ticket #4123: drivesetup.patch

File drivesetup.patch, 647 bytes (added by idefix, 15 years ago)

Patch to fix DriveSetups handling of illegal volume names

  • src/apps/drivesetup/MainWindow.cpp

     
    806806    BString previousName = partition->ContentName();
    807807
    808808    ret = partition->Initialize(diskSystem.PrettyName(),
    809         supportsName ? name.String() : NULL, parameters.String());
     809        supportsName ? validatedName.String() : NULL, parameters.String());
    810810    if (ret != B_OK) {
    811811        _DisplayPartitionError("Initialization of the partition %s "
    812812            "failed. (Nothing has been written to disk.)", partition, ret);