diff options
author | Max Horn | 2005-01-01 18:53:47 +0000 |
---|---|---|
committer | Max Horn | 2005-01-01 18:53:47 +0000 |
commit | f52be9df681358564991e0988bf70160970104ad (patch) | |
tree | d7de4493e5f6e7c0b229014707a915d0b42d07e3 /gui | |
parent | 03d4a6fa47e73ddbddc6bc096f6cef14ea7d7441 (diff) | |
download | scummvm-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.cpp | 2 |
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)); |