diff options
| author | Matthew Garrett <mjg@redhat.com> | 2012-10-06 17:39:21 -0400 |
|---|---|---|
| committer | Matthew Garrett <mjg@redhat.com> | 2012-10-06 17:39:21 -0400 |
| commit | a68a0c7b0340b5010c74e2065dbdc272ffada2e0 (patch) | |
| tree | a624d6919e15f0064a7e987743adfa2ea7a0e741 | |
| parent | c9d2ff8c40d31b85e6165f387f00c11c4f607915 (diff) | |
| download | efi-boot-shim-a68a0c7b0340b5010c74e2065dbdc272ffada2e0.tar.gz efi-boot-shim-a68a0c7b0340b5010c74e2065dbdc272ffada2e0.zip | |
Fix menucount
Menucount wasn't being incremented for the final top level menu, so
the file explorer menu item wasn't appearing.
| -rw-r--r-- | MokManager.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
