Permalink
Browse files

Allow change slideshow direction.

  • Loading branch information...
1 parent cc769b0 commit b2c601cfa089a40cb619223c2cb5c5c81fb24e66 @ulion committed Apr 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/pictures/GUIWindowSlideShow.cpp
View
2 xbmc/pictures/GUIWindowSlideShow.cpp
@@ -691,7 +691,7 @@ int CGUIWindowSlideShow::GetNextSlide()
{
if (m_slides->Size() <= 1)
return m_iCurrentSlide;
- int step = (m_bSlideShow && !m_bPause) || m_iDirection >= 0 ? 1 : -1;
+ int step = m_iDirection >= 0 ? 1 : -1;
int nextSlide = (m_iCurrentSlide + step + m_slides->Size()) % m_slides->Size();
while (nextSlide != m_iCurrentSlide)
{

0 comments on commit b2c601c

Please sign in to comment.