From f52be9df681358564991e0988bf70160970104ad Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 1 Jan 2005 18:53:47 +0000 Subject: Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface) svn-id: r16402 --- gui/newgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') 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)); -- cgit v1.2.3