Skip to content

Commit

Permalink
Always close next loaded pic if not matching slidenumber.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulion committed May 2, 2013
1 parent 477ad58 commit 745edfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/pictures/GUIWindowSlideShow.cpp
Expand Up @@ -486,7 +486,7 @@ void CGUIWindowSlideShow::Process(unsigned int currentTime, CDirtyRegionList &re
}

// check if we should discard an already loaded next slide
if (m_bLoadNextPic && m_Image[1 - m_iCurrentPic].IsLoaded() && m_Image[1 - m_iCurrentPic].SlideNumber() != m_iNextSlide)
if (m_Image[1 - m_iCurrentPic].IsLoaded() && m_Image[1 - m_iCurrentPic].SlideNumber() != m_iNextSlide)
m_Image[1 - m_iCurrentPic].Close();

// if we're reloading current image
Expand Down

0 comments on commit 745edfc

Please sign in to comment.