diff options
Diffstat (limited to 'common/timer.cpp')
-rw-r--r-- | common/timer.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/common/timer.cpp b/common/timer.cpp index 568a27a673..940bd0e206 100644 --- a/common/timer.cpp +++ b/common/timer.cpp @@ -36,8 +36,7 @@ Timer::~Timer() { release(); } -static int timer_handler (int t) -{ +static int timer_handler (int t) { eng->_timer->handler(&t); return t; } @@ -68,9 +67,9 @@ bool Timer::init() { int32 l; if (_engine->_system == NULL) { - printf("Timer: OSystem not initialized !\n"); - return false; - } + printf("Timer: OSystem not initialized !\n"); + return false; +} if (_initialized == true) return true; |