Ticket #4123: drivesetupunnamedvolume.patch
File drivesetupunnamedvolume.patch, 543 bytes (added by , 15 years ago) |
---|
-
src/apps/drivesetup/MainWindow.cpp
794 794 } 795 795 796 796 bool supportsName = diskSystem.SupportsContentName(); 797 if (name.Length() == 0 && supportsName) 798 name.SetTo("Unnamed"); 799 797 800 BString validatedName(name); 798 801 ret = partition->ValidateInitialize(diskSystem.PrettyName(), 799 802 supportsName ? &validatedName : NULL, parameters.String());