Permalink
Browse files

cosmetics - whitespace

  • Loading branch information...
1 parent f2a0f07 commit a74f0b3a9975776c811c19b1902fe05292121eb3 Jonathan Marshall committed Aug 16, 2011
Showing with 10 additions and 9 deletions.
  1. +10 −9 xbmc/guilib/GUIWindow.cpp
View
@@ -343,18 +343,19 @@ void CGUIWindow::Close_Internal(bool forceClose /*= false*/, int nextWindowID /*
{
if (!m_closing)
{
- if (enableSound && IsSoundEnabled())
- g_audioManager.PlayWindowSound(GetID(), SOUND_DEINIT);
-
- // Perform the window out effect
- QueueAnimation(ANIM_TYPE_WINDOW_CLOSE);
- m_closing = true;
+ if (enableSound && IsSoundEnabled())
+ g_audioManager.PlayWindowSound(GetID(), SOUND_DEINIT);
+
+ // Perform the window out effect
+ QueueAnimation(ANIM_TYPE_WINDOW_CLOSE);
+ m_closing = true;
}
return;
}
- CGUIMessage msg(GUI_MSG_WINDOW_DEINIT, 0, 0);
- OnMessage(msg);
- m_closing = false;
+
+ CGUIMessage msg(GUI_MSG_WINDOW_DEINIT, 0, 0);
+ OnMessage(msg);
+ m_closing = false;
}
void CGUIWindow::Close(bool forceClose /*= false*/, int nextWindowID /*= 0*/, bool enableSound /*= true*/)

0 comments on commit a74f0b3

Please sign in to comment.