From 4d8a9bbd522905841bff6bf5748f2c705701c845 Mon Sep 17 00:00:00 2001 From: theuni Date: Tue, 5 Jun 2012 19:37:24 -0400 Subject: [PATCH] libxbmc: fix whitespace after last commit --- xbmc/Application.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index 30d6314d901a4..aca9312417a71 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -2746,18 +2746,18 @@ void CApplication::FrameMove(bool processEvents, bool processGUI) if (processGUI) { - g_graphicsContext.Lock(); - // check if there are notifications to display - CGUIDialogKaiToast *toast = (CGUIDialogKaiToast *)g_windowManager.GetWindow(WINDOW_DIALOG_KAI_TOAST); - if (toast && toast->DoWork()) - { - if (!toast->IsDialogRunning()) + g_graphicsContext.Lock(); + // check if there are notifications to display + CGUIDialogKaiToast *toast = (CGUIDialogKaiToast *)g_windowManager.GetWindow(WINDOW_DIALOG_KAI_TOAST); + if (toast && toast->DoWork()) { - toast->Show(); + if (!toast->IsDialogRunning()) + { + toast->Show(); + } } - } - g_graphicsContext.Unlock(); - CWinEvents::MessagePump(); + g_graphicsContext.Unlock(); + CWinEvents::MessagePump(); } UpdateLCD(); @@ -2779,9 +2779,9 @@ void CApplication::FrameMove(bool processEvents, bool processGUI) } if (processGUI) { - if (!m_bStop) - g_windowManager.Process(CTimeUtils::GetFrameTime()); - g_windowManager.FrameMove(); + if (!m_bStop) + g_windowManager.Process(CTimeUtils::GetFrameTime()); + g_windowManager.FrameMove(); } }