Skip to content

Commit

Permalink
cosmetics - whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed Aug 16, 2011
1 parent f2a0f07 commit a74f0b3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions xbmc/guilib/GUIWindow.cpp
Expand Up @@ -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*/)
Expand Down

0 comments on commit a74f0b3

Please sign in to comment.