CHAR16 *print;
UINTN cursor;
BOOLEAN exit;
- BOOLEAN edit;
+ BOOLEAN enter;
if (!line_in)
line_in = L"";
first = 0;
cursor = 0;
- edit = FALSE;
+ enter = FALSE;
exit = FALSE;
while (!exit) {
UINTN index;
case CHAR_LINEFEED:
case CHAR_CARRIAGE_RETURN:
if (StrCmp(line, line_in) != 0) {
- edit = TRUE;
*line_out = line;
line = NULL;
}
+ enter = TRUE;
exit = TRUE;
break;
case CHAR_BACKSPACE:
uefi_call_wrapper(ST->ConOut->EnableCursor, 2, ST->ConOut, FALSE);
FreePool(line);
- return edit;
+ return enter;
}
static VOID menu_run(Config *config, ConfigEntry **chosen_entry) {