From eff9afd00fd23a275334b00794db56f854fc9d63 Mon Sep 17 00:00:00 2001 From: Matthew Jury Date: Wed, 3 Feb 2021 21:55:55 -0500 Subject: [PATCH] Small Fixes --- src/rufus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rufus.c b/src/rufus.c index 806b6ae3..722f1a02 100755 --- a/src/rufus.c +++ b/src/rufus.c @@ -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);