Skip to content

Commit

Permalink
[cosmetic] align assignment block
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed Jul 1, 2014
1 parent 4b6c3b9 commit a362942
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions xbmc/addons/GUIDialogAddonSettings.cpp
Expand Up @@ -666,14 +666,14 @@ void CGUIDialogAddonSettings::CreateControls()
const TiXmlElement *setting = GetFirstSetting();
while (setting)
{
const std::string type = XMLUtils::GetAttribute(setting, "type");
const std::string id = XMLUtils::GetAttribute(setting, "id");
const std::string values = XMLUtils::GetAttribute(setting, "values");
const std::string lvalues = XMLUtils::GetAttribute(setting, "lvalues");
const std::string entries = XMLUtils::GetAttribute(setting, "entries");
const std::string defaultValue = XMLUtils::GetAttribute(setting, "default");
const std::string type = XMLUtils::GetAttribute(setting, "type");
const std::string id = XMLUtils::GetAttribute(setting, "id");
const std::string values = XMLUtils::GetAttribute(setting, "values");
const std::string lvalues = XMLUtils::GetAttribute(setting, "lvalues");
const std::string entries = XMLUtils::GetAttribute(setting, "entries");
const std::string defaultVal = XMLUtils::GetAttribute(setting, "default");
const std::string subsetting = XMLUtils::GetAttribute(setting, "subsetting");
const std::string label = GetString(setting->Attribute("label"), subsetting == "true");
const std::string label = GetString(setting->Attribute("label"), subsetting == "true");

bool bSort = XMLUtils::GetAttribute(setting, "sort") == "yes";
if (!id.empty() && !type.empty())
Expand Down Expand Up @@ -725,7 +725,7 @@ void CGUIDialogAddonSettings::CreateControls()
}
}
else
((CGUIButtonControl *)pControl)->SetLabel2(defaultValue);
((CGUIButtonControl *)pControl)->SetLabel2(defaultVal);
}
else if (type == "bool")
{
Expand Down

0 comments on commit a362942

Please sign in to comment.