Minor fixes for previous commit

Ansariel 2013-03-08 21:12:44 +01:00
parent 197f4039d0
commit 635dac7fff
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ static F32 time24_to_sun_pos(F32 time)
ret += 24.f;
}
return ret / 24.f;
return (ret / 24.f);
}
@ -439,7 +439,7 @@ std::string FloaterQuickPrefs::stepComboBox(LLComboBox* ctrl, bool forward)
std::string preset_name;
std::string start_preset_name;
start_preset_name = ctrl->getValue().asString();
start_preset_name = ctrl->getSelectedValue().asString();
do
{
curid += increment;