From 320f9aa0c7ce54cc311a9eca20e325fef876e81f Mon Sep 17 00:00:00 2001 From: xhaggi Date: Tue, 12 May 2015 10:40:04 +0200 Subject: [PATCH] corrects format + indentation --- xbmc/Application.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp index 8485db620f066..582767728b451 100644 --- a/xbmc/Application.cpp +++ b/xbmc/Application.cpp @@ -3208,18 +3208,18 @@ PlayBackRet CApplication::PlayFile(const CFileItem& item, bool bRestart) // if player has volume control, set it. if (m_pPlayer->ControlsVolume()) { - m_pPlayer->SetVolume(m_volumeLevel); - m_pPlayer->SetMute(m_muted); + m_pPlayer->SetVolume(m_volumeLevel); + m_pPlayer->SetMute(m_muted); } - if( m_pPlayer->IsPlayingAudio() ) + if(m_pPlayer->IsPlayingAudio()) { if (g_windowManager.GetActiveWindow() == WINDOW_FULLSCREEN_VIDEO) g_windowManager.ActivateWindow(WINDOW_VISUALISATION); } #ifdef HAS_VIDEO_PLAYBACK - else if( m_pPlayer->IsPlayingVideo() ) + else if(m_pPlayer->IsPlayingVideo()) { // if player didn't manange to switch to fullscreen by itself do it here if (options.fullscreen && g_renderManager.IsStarted() && @@ -3229,10 +3229,9 @@ PlayBackRet CApplication::PlayFile(const CFileItem& item, bool bRestart) #endif else { - if (g_windowManager.GetActiveWindow() == WINDOW_VISUALISATION - || g_windowManager.GetActiveWindow() == WINDOW_FULLSCREEN_VIDEO) + if (g_windowManager.GetActiveWindow() == WINDOW_VISUALISATION || + g_windowManager.GetActiveWindow() == WINDOW_FULLSCREEN_VIDEO) g_windowManager.PreviousWindow(); - } #if !defined(TARGET_POSIX)