Skip to content
This repository
Browse code

gui: list settings didn't display indentation properly

  • Loading branch information...
commit 0faa3d293a6cffa4f76ece1a236155521e07b392 1 parent 2e8f569
Joakim Plate authored June 17, 2013
4  xbmc/settings/windows/GUIWindowSettingsCategory.cpp
@@ -654,8 +654,8 @@ CGUIControl* CGUIWindowSettingsCategory::AddSetting(CSetting *pSetting, float wi
654 654
       pControl = new CGUIButtonControl(*m_pOriginalButton);
655 655
       if (pControl == NULL)
656 656
         return NULL;
657  
-      
658  
-      ((CGUIButtonControl *)pControl)->SetLabel(g_localizeStrings.Get(pSetting->GetLabel()));
  657
+
  658
+      ((CGUIButtonControl *)pControl)->SetLabel(label);
659 659
       pSettingControl.reset(new CGUIControlListSetting((CGUIButtonControl *)pControl, iControlID, pSetting));
660 660
       break;
661 661
     }

0 notes on commit 0faa3d2

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