aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2013-06-17 23:46:45 +0200
committerJoakim Plate <elupus@ecce.se>2013-06-17 23:48:46 +0200
commit0faa3d293a6cffa4f76ece1a236155521e07b392 (patch)
treee822177810519154b837525bfdbdc78240d7a362
parent2e8f5694a74b01c97e99b8bce7cc3569ce637ade (diff)
gui: list settings didn't display indentation properly
-rw-r--r--xbmc/settings/windows/GUIWindowSettingsCategory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/settings/windows/GUIWindowSettingsCategory.cpp b/xbmc/settings/windows/GUIWindowSettingsCategory.cpp
index 8318ec631c..05e2a1fdef 100644
--- a/xbmc/settings/windows/GUIWindowSettingsCategory.cpp
+++ b/xbmc/settings/windows/GUIWindowSettingsCategory.cpp
@@ -654,8 +654,8 @@ CGUIControl* CGUIWindowSettingsCategory::AddSetting(CSetting *pSetting, float wi
pControl = new CGUIButtonControl(*m_pOriginalButton);
if (pControl == NULL)
return NULL;
-
- ((CGUIButtonControl *)pControl)->SetLabel(g_localizeStrings.Get(pSetting->GetLabel()));
+
+ ((CGUIButtonControl *)pControl)->SetLabel(label);
pSettingControl.reset(new CGUIControlListSetting((CGUIButtonControl *)pControl, iControlID, pSetting));
break;
}