aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-01 21:06:04 -0700
committerPaul Gilbert2018-12-08 19:05:59 -0800
commit2551927bf68dfbd43997756821737ac41adc7dfb (patch)
treef4cd06c85805008ed2c09936be9ffb04af3c710b /engines
parentd954f70d499c9cd96b2bedbfbec59bf7ed4f715a (diff)
downloadscummvm-rg350-2551927bf68dfbd43997756821737ac41adc7dfb.tar.gz
scummvm-rg350-2551927bf68dfbd43997756821737ac41adc7dfb.tar.bz2
scummvm-rg350-2551927bf68dfbd43997756821737ac41adc7dfb.zip
GLK: Fix processing input after Enter is pressed
Diffstat (limited to 'engines')
-rw-r--r--engines/gargoyle/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gargoyle/events.cpp b/engines/gargoyle/events.cpp
index 02c3d8dd17..93b9141f78 100644
--- a/engines/gargoyle/events.cpp
+++ b/engines/gargoyle/events.cpp
@@ -94,7 +94,7 @@ void Events::dispatchEvent(Event &ev, bool polled) {
if (!polled) {
dispatch = _eventsLogged.retrieve();
- if (dispatch)
+ if (!dispatch)
dispatch = _eventsPolled.retrieve();
} else {
dispatch = _eventsPolled.retrieve();