correct return value of checkkey for null-terminal
This commit is contained in:
parent
546d060783
commit
02772f981b
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ int
|
|||
grub_checkkey (void)
|
||||
{
|
||||
if (!grub_cur_term_input)
|
||||
return 0;
|
||||
return -1;
|
||||
return (grub_cur_term_input->checkkey) ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue