[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:
Pete Batard 2014-03-29 00:42:49 +00:00
parent 027d0d7c3a
commit b343d9b86d
8 changed files with 64 additions and 58 deletions

View file

@ -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");