Remove unnecessary newline

The newline character shouldn't be present in the menu item string
This commit is contained in:
Gary Ching-Pang Lin 2012-10-11 09:20:30 -04:00 committed by Matthew Garrett
parent 948cedb3c6
commit 20b954b004

View File

@ -1054,7 +1054,7 @@ static EFI_STATUS enter_mok_menu(EFI_HANDLE image_handle, void *MokNew,
menu_item[1].data = MokNew;
menu_item[1].callback = mok_deletion_prompt;
} else {
menu_item[1].text = StrDuplicate(L"Enroll MOK\n");
menu_item[1].text = StrDuplicate(L"Enroll MOK");
menu_item[1].colour = EFI_WHITE;
menu_item[1].data = MokNew;
menu_item[1].data2 = (void *)MokNewSize;