diff --git a/src/resource.h b/src/resource.h index 66250c7b..e00da9fc 100644 --- a/src/resource.h +++ b/src/resource.h @@ -48,7 +48,7 @@ #define IDC_DEVICE 1001 #define IDC_FILESYSTEM 1002 #define IDC_START 1003 -#define IDC_CAPACITY 1004 +#define IDC_PARTITION 1004 #define IDC_CLUSTERSIZE 1005 #define IDC_STATUS 1006 #define IDC_ABOUT 1007 diff --git a/src/rufus.c b/src/rufus.c index e3ad72eb..a6af777e 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -101,7 +101,7 @@ char szFolderPath[MAX_PATH], app_dir[MAX_PATH]; char* iso_path = NULL; float fScale = 1.0f; int default_fs; -HWND hDeviceList, hCapacity, hFileSystem, hClusterSize, hLabel, hDOSType, hNBPasses, hLog = NULL; +HWND hDeviceList, hPartition, hFileSystem, hClusterSize, hLabel, hDOSType, hNBPasses, hLog = NULL; HWND hISOProgressDlg = NULL, hLogDlg = NULL, hISOProgressBar, hISOFileName, hDiskID; BOOL use_own_c32[NB_OLD_C32] = {FALSE, FALSE}, detect_fakes = TRUE, mbr_selected_by_user = FALSE; BOOL iso_op_in_progress = FALSE, format_op_in_progress = FALSE; @@ -405,7 +405,7 @@ static BOOL GetDriveInfo(void) } uprintf("Partition type: MBR, NB Partitions: %d\n", nb_partitions); tmp[sizeof(tmp)-1] = 0; - CreateTooltip(hCapacity, tmp, -1); + CreateTooltip(hPartition, tmp, -1); break; case PARTITION_STYLE_GPT: uprintf("Partition type: GPT, NB Partitions: %d\n", DriveLayout->PartitionCount); @@ -533,7 +533,7 @@ static BOOL PopulateProperties(int ComboIndex) char no_label[] = STR_NO_LABEL; int i, fs; - IGNORE_RETVAL(ComboBox_ResetContent(hCapacity)); + IGNORE_RETVAL(ComboBox_ResetContent(hPartition)); IGNORE_RETVAL(ComboBox_ResetContent(hFileSystem)); IGNORE_RETVAL(ComboBox_ResetContent(hClusterSize)); EnableWindow(GetDlgItem(hMainDialog, IDC_START), FALSE); @@ -554,12 +554,12 @@ static BOOL PopulateProperties(int ComboIndex) for (i=1; i