loader: ReadKeyStrokeEx may return partial keystrokes
In some systems we can receive no scancode nor unicodechar values. PR: 240760 Reported by: Ariel Millennium Thornton MFC after: 1 week
This commit is contained in:
parent
1bd8c5e427
commit
0aff5f3934
@ -1126,10 +1126,11 @@ efi_readkey_ex(void)
|
||||
kp->UnicodeChar++;
|
||||
}
|
||||
}
|
||||
if (kp->ScanCode == 0 && kp->UnicodeChar == 0)
|
||||
return (false);
|
||||
keybuf_inschar(kp);
|
||||
return (true);
|
||||
}
|
||||
|
||||
keybuf_inschar(kp);
|
||||
return (true);
|
||||
}
|
||||
return (false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user