Unrecognised keys may be returned by getkey() as character code zero, which currently matches against the first menu item with no shortcut key defined. Prevent this unintended behaviour by explicitly checking that the menu item has a defined shortcut key. Reported-by: Ján ONDREJ (SAL) <ondrejj@salstar.sk> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
247 | 247 |
|
248 | 248 |
|
249 | 249 |
|
250 |
|
|
250 |
|
|
251 |
|
|
251 | 252 |
|
252 | 253 |
|
253 | 254 |
|