From b7470f8638ee76671352dcdc7352933096cbe433 Mon Sep 17 00:00:00 2001 From: asava Date: Wed, 6 May 2020 01:37:43 +0300 Subject: [PATCH] Typo in previous commit --- rEFIt_UEFI/entry_scan/loader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rEFIt_UEFI/entry_scan/loader.cpp b/rEFIt_UEFI/entry_scan/loader.cpp index ffc644930..120af190b 100644 --- a/rEFIt_UEFI/entry_scan/loader.cpp +++ b/rEFIt_UEFI/entry_scan/loader.cpp @@ -1990,8 +1990,8 @@ VOID AddCustomEntries(VOID) AddCustomEntry(i, L"\\EFI\\Microsoft\\Boot\\bootmgfw.efi"_XSW, Custom, NULL); } else if (OSTYPE_IS_LINUX(Custom->Type)) { #if defined(ANDX86) - for (UINTN Index = 0; Index < AndroidEntryDataCount; Index++) { - AddCustomEntry(i, AndroidEntryData[Index++].Path, Custom, NULL); + for (UINTN Index = 0; Index < AndroidEntryDataCount; ++Index) { + AddCustomEntry(i, AndroidEntryData[Index].Path, Custom, NULL); } #endif AddCustomEntry(i, NullXStringW, Custom, NULL);