ok, apparently didn't commit this either. apparently includes a merge with trunk...
[blender.git] / intern / ghost / intern / GHOST_System.cpp
index 603452cfcbda512dd8befd77983d6705fc8b48d4..79d8389ffc6d6f24fc337f8fccce042e4133d6de 100644 (file)
@@ -275,7 +275,6 @@ GHOST_TSuccess GHOST_System::getButtonState(GHOST_TButtonMask mask, bool& isDown
        return success;
 }
 
-
 GHOST_TSuccess GHOST_System::init()
 {
        m_timerManager = new GHOST_TimerManager ();
@@ -289,8 +288,8 @@ GHOST_TSuccess GHOST_System::init()
 #endif
        
 #ifdef GHOST_DEBUG
-       m_eventPrinter = new GHOST_EventPrinter();
        if (m_eventManager) {
+               m_eventPrinter = new GHOST_EventPrinter();
                m_eventManager->addConsumer(m_eventPrinter);
        }
 #endif // GHOST_DEBUG