From 635dac7fff715b027924cd23f03d33ef6d5a0803 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 8 Mar 2013 21:12:44 +0100 Subject: [PATCH] Minor fixes for previous commit --- indra/newview/quickprefs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/quickprefs.cpp b/indra/newview/quickprefs.cpp index 4cbb86926a..a564134284 100644 --- a/indra/newview/quickprefs.cpp +++ b/indra/newview/quickprefs.cpp @@ -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;