summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-12-11 15:42:41 -0800
committerGraham Linden <graham@lindenlab.com>2018-12-11 15:42:41 -0800
commitcdc540a5c4d03b567e787b0599575693e95fac5f (patch)
treeebb04e44596f9f2f8464be78a54c6f76d43a4055 /indra
parent89385d1aa3ae18274a2049d2ca7472f1160e17d7 (diff)
parentdbcd1c273571a5d496b0d89db6bc224c2a0d672a (diff)
Merge
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanelenvironment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp
index 7abb05b6fb..e3be46f1af 100644
--- a/indra/newview/llpanelenvironment.cpp
+++ b/indra/newview/llpanelenvironment.cpp
@@ -557,7 +557,7 @@ void LLPanelEnvironmentInfo::onSldDayOffsetChanged(F32 value)
{
F32Hours dayoffset(value);
- if (dayoffset.value() < 0.0f)
+ if (dayoffset.value() <= 0.0f)
dayoffset += F32Hours(24.0);
mCurrentEnvironment->mDayOffset = dayoffset;