mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-24 19:54:25 -04:00
[format] existing volumes with the name "New Volume" should be renamed
* Closes #104
This commit is contained in:
parent
59496e53c0
commit
c44fa3969d
5 changed files with 15 additions and 7 deletions
|
@ -572,7 +572,8 @@ static BOOL PopulateProperties(int ComboIndex)
|
|||
|
||||
// If no existing label is available and no ISO is selected, propose one according to the size (eg: "256MB", "8GB")
|
||||
if ((iso_path == NULL) || (iso_report.label[0] == 0)) {
|
||||
if (safe_strcmp(no_label, DriveLabel.Table[ComboIndex]) == 0) {
|
||||
if ( (safe_stricmp(no_label, DriveLabel.Table[ComboIndex]) == 0)
|
||||
|| (safe_stricmp(lmprintf(MSG_207), DriveLabel.Table[ComboIndex]) == 0) ) {
|
||||
SetWindowTextU(hLabel, SelectedDrive.proposed_label);
|
||||
} else {
|
||||
SetWindowTextU(hLabel, DriveLabel.Table[ComboIndex]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue