VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/DcsBml
diff options
context:
space:
mode:
Diffstat (limited to 'DcsBml')
-rw-r--r--DcsBml/DcsBml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DcsBml/DcsBml.c b/DcsBml/DcsBml.c
index 3a5406f..7b37d1f 100644
--- a/DcsBml/DcsBml.c
+++ b/DcsBml/DcsBml.c
@@ -156,7 +156,7 @@ UpdateBootOrder()
res = BootMenuItemCreate(L"BootDC5B", sDcsBootEfiDesc, gFileRootHandle, sDcsBootEfi, TRUE);
res = BootOrderInsert(L"BootOrder", 0, 0x0DC5B);
} else {
- if (EFI_ERROR(BootOrderPresent(L"BootOrder", 0x0DC5B, &boIndex) || boIndex != 0)) {
+ if (EFI_ERROR(BootOrderPresent(L"BootOrder", 0x0DC5B, &boIndex)) || boIndex != 0) {
res = BootOrderInsert(L"BootOrder", 0, 0x0DC5B);
}
}