aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
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 02e0580664..881b12766e 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -87,7 +87,7 @@ GuiObject::GuiObject(Common::String name) : _firstWidget(0) {
NewGui::NewGui() : _needRedraw(false),
_stateIsSaved(false), _cursorAnimateCounter(0), _cursorAnimateTimer(0) {
- _system = &OSystem::instance();
+ _system = g_system;
// Clear the cursor
memset(_cursor, 0xFF, sizeof(_cursor));