mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-27 13:14:26 -04:00
[ui] fix UEFI/BIOS mode never being disabled once enabled
* Closes #635 * Also fix minor logic issue and trailing whitespaces
This commit is contained in:
parent
759599221c
commit
549bf731a6
4 changed files with 16 additions and 14 deletions
|
@ -3065,7 +3065,7 @@ relaunch:
|
|||
// Alt-E => Enhanced installation mode (allow dual UEFI/BIOS mode and FAT32 for Windows)
|
||||
if ((msg.message == WM_SYSKEYDOWN) && (msg.wParam == 'E')) {
|
||||
allow_dual_uefi_bios = !allow_dual_uefi_bios;
|
||||
WriteSettingBool(SETTING_ENABLE_WIN_DUAL_EFI_BIOS, !allow_dual_uefi_bios);
|
||||
WriteSettingBool(SETTING_ENABLE_WIN_DUAL_EFI_BIOS, allow_dual_uefi_bios);
|
||||
PrintStatus2000(lmprintf(MSG_266), allow_dual_uefi_bios);
|
||||
SetMBRForUEFI(TRUE);
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue