aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2005-01-01 18:53:47 +0000
committerMax Horn2005-01-01 18:53:47 +0000
commitf52be9df681358564991e0988bf70160970104ad (patch)
treed7de4493e5f6e7c0b229014707a915d0b42d07e3 /gui
parent03d4a6fa47e73ddbddc6bc096f6cef14ea7d7441 (diff)
downloadscummvm-rg350-f52be9df681358564991e0988bf70160970104ad.tar.gz
scummvm-rg350-f52be9df681358564991e0988bf70160970104ad.tar.bz2
scummvm-rg350-f52be9df681358564991e0988bf70160970104ad.zip
Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
svn-id: r16402
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 961b8545d7..023c248108 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -57,7 +57,7 @@ enum {
NewGui::NewGui() : _needRedraw(false),
_stateIsSaved(false), _cursorAnimateCounter(0), _cursorAnimateTimer(0) {
- _system = OSystem::instance();
+ _system = &OSystem::instance();
// Clear the cursor
memset(_cursor, 0xFF, sizeof(_cursor));