From a68a0c7b0340b5010c74e2065dbdc272ffada2e0 Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Sat, 6 Oct 2012 17:39:21 -0400 Subject: Fix menucount Menucount wasn't being incremented for the final top level menu, so the file explorer menu item wasn't appearing. --- MokManager.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MokManager.c') diff --git a/MokManager.c b/MokManager.c index aa3c116a..c4b7944c 100644 --- a/MokManager.c +++ b/MokManager.c @@ -1043,6 +1043,8 @@ static EFI_STATUS enter_mok_menu(EFI_HANDLE image_handle, void *MokNew) menu_item[menucount].colour = EFI_WHITE; menu_item[menucount].callback = find_fs; + menucount++; + run_menu(menu_item, menucount); return 0; -- cgit v1.2.3