mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 22:15:21 -04:00
[ui] fix FAT32 sometimes becoming available for ISOs with >4GB files
* FAT32 would become available and selected as default FS when selecting a Windows ISO with a >4GB file and then clicking "Show advanced drive properties".
This commit is contained in:
parent
45680fb0e4
commit
e52a5206ba
3 changed files with 13 additions and 10 deletions
|
@ -156,13 +156,16 @@ static void SetAllowedFileSystems(void)
|
|||
allowed_filesystem[FS_FAT32] = TRUE;
|
||||
break;
|
||||
case BT_IMAGE:
|
||||
allowed_filesystem[FS_NTFS] = TRUE;
|
||||
// Don't allow anything besides NTFS if the image has a >4GB file
|
||||
if ((image_path != NULL) && (img_report.has_4GB_file))
|
||||
break;
|
||||
if (!HAS_WINDOWS(img_report) || (tt != TT_BIOS) || allow_dual_uefi_bios) {
|
||||
if (!HAS_WINTOGO(img_report) || (ComboBox_GetCurSel(GetDlgItem(hMainDialog, IDC_IMAGE_OPTION)) != 1)) {
|
||||
allowed_filesystem[FS_FAT16] = TRUE;
|
||||
allowed_filesystem[FS_FAT32] = TRUE;
|
||||
}
|
||||
}
|
||||
allowed_filesystem[FS_NTFS] = TRUE;
|
||||
break;
|
||||
case BT_SYSLINUX_V6:
|
||||
allowed_filesystem[FS_NTFS] = TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue