mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
Small Fixes
This commit is contained in:
parent
ddc5384582
commit
eff9afd00f
1 changed files with 1 additions and 2 deletions
|
@ -853,7 +853,7 @@ static void EnableControls(BOOL enable, BOOL remove_checkboxes)
|
|||
EnableWindow(hSaveToolbar, enable);
|
||||
|
||||
// Enable or disable the Start button and the other boot options
|
||||
//enable = ((boot_type == BT_IMAGE) && (image_path == NULL)) ? FALSE : enable;
|
||||
enable = ((boot_type == BT_IMAGE) && (image_path == NULL)) ? FALSE : enable;
|
||||
EnableWindow(hStart, enable);
|
||||
EnableBootOptions(enable, remove_checkboxes);
|
||||
|
||||
|
@ -2431,7 +2431,6 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
|
|||
case IDC_START:
|
||||
if (format_thread != NULL)
|
||||
return (INT_PTR)TRUE;
|
||||
|
||||
// Just in case
|
||||
boot_type = (int)ComboBox_GetCurItemData(hBootType);
|
||||
partition_type = (int)ComboBox_GetCurItemData(hPartitionScheme);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue