correct return value of checkkey for null-terminal

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-12-09 20:34:14 +01:00
parent 546d060783
commit 02772f981b

View file

@ -145,7 +145,7 @@ int
grub_checkkey (void)
{
if (!grub_cur_term_input)
return 0;
return -1;
return (grub_cur_term_input->checkkey) ();
}