mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-28 13:44:15 -04:00
[misc] fix issues with unpartitioned drives and bad blocks reports
* Listing an unpartitioned could result in all controls besides drive selection dropdown being blank * The bad blocks report was not displaying the right values * Also update version to Rufus next
This commit is contained in:
parent
027d0d7c3a
commit
b343d9b86d
8 changed files with 64 additions and 58 deletions
|
@ -397,8 +397,6 @@ static BOOL SetDriveInfo(int ComboIndex)
|
|||
SelectedDrive.DeviceNumber = (DWORD)ComboBox_GetItemData(hDeviceList, ComboIndex);
|
||||
|
||||
SelectedDrive.nPartitions = GetDrivePartitionData(SelectedDrive.DeviceNumber, fs_type, sizeof(fs_type));
|
||||
if (SelectedDrive.nPartitions == 0)
|
||||
return FALSE;
|
||||
|
||||
if (!DefineClusterSizes()) {
|
||||
uprintf("No file system is selectable for this drive\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue