aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorMax Horn2004-12-05 17:42:20 +0000
committerMax Horn2004-12-05 17:42:20 +0000
commitf09293b22cdec7d8b309baea0a58e93757c77913 (patch)
tree24a0814b173e6607e88d8e71163bcbc9d9d340ac /gui/newgui.cpp
parent8d4fcb1689a4c80fa9ef3ec84194fa791bd2c00e (diff)
downloadscummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.tar.gz
scummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.tar.bz2
scummvm-rg350-f09293b22cdec7d8b309baea0a58e93757c77913.zip
Clean up OSystem::Event
svn-id: r15990
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 32003af657..fb6b2f1784 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -110,7 +110,7 @@ void NewGui::runLoop() {
uint32 time = _system->getMillis();
while (_system->pollEvent(event)) {
- switch (event.event_code) {
+ switch (event.type) {
case OSystem::EVENT_KEYDOWN:
#if !defined(__PALM_OS__)
// init continuous event stream