Skip to content
This repository
Browse code

CGUISliderControl: fix GetDescription() for integer-based sliders

  • Loading branch information...
commit c9d0d05ff6941a5ac1a692fc174c61c25c42b555 1 parent 17757ac
Sascha Montellese authored October 10, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/guilib/GUISliderControl.cpp
2  xbmc/guilib/GUISliderControl.cpp
@@ -592,7 +592,7 @@ CStdString CGUISliderControl::GetDescription() const
592 592
     if (m_rangeSelection)
593 593
       description.Format("[%i, %i]", m_iValue[0], m_iValue[1]);
594 594
     else
595  
-      description.Format("%i", m_iValue);
  595
+      description.Format("%i", m_iValue[0]);
596 596
   }
597 597
   else
598 598
   {

0 notes on commit c9d0d05

Please sign in to comment.
Something went wrong with that request. Please try again.