diff --git a/src/rufus.c b/src/rufus.c index 8841c3c4..357749cc 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -2379,7 +2379,7 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA if(selection_default == BT_IMG) ToggleImage(!IsChecked(IDC_BOOT)); - if(IsChecked(IDC_BOOT)) { + if(IsChecked(IDC_BOOT) && (img_report.label != NULL && img_report.label[0] != '\0')) { SetWindowTextU(hLabel, img_report.label); } else { SetWindowTextU(hLabel, DriveLabel.String[ComboBox_GetCurSel(hDeviceList)]);