aboutsummaryrefslogtreecommitdiff
path: root/newgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'newgui.cpp')
-rw-r--r--newgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgui.cpp b/newgui.cpp
index 0d9de41f8b..f5826884b9 100644
--- a/newgui.cpp
+++ b/newgui.cpp
@@ -110,7 +110,7 @@ void NewGui::loop()
for (int i = 0; i < _eventList.size(); i++)
{
- t = _eventList.getEvent(i);
+ t = _eventList[i];
switch(t.event_code) {
case OSystem::EVENT_KEYDOWN: