mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-28 15:26:12 +00:00
KYRA: Don't loose the next event when leaving the text input event loop.
This commit is contained in:
parent
192b245d51
commit
3384f9146c
@ -415,7 +415,7 @@ void GUI::checkTextfieldInput() {
|
||||
|
||||
bool running = true;
|
||||
int keys = 0;
|
||||
while (_vm->_eventMan->pollEvent(event) && running) {
|
||||
while (running && _vm->_eventMan->pollEvent(event)) {
|
||||
switch (event.type) {
|
||||
case Common::EVENT_KEYDOWN:
|
||||
if (event.kbd.keycode == Common::KEYCODE_q && event.kbd.hasFlags(Common::KBD_CTRL))
|
||||
|
Loading…
x
Reference in New Issue
Block a user