summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-10-31 17:47:38 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-10-31 17:47:38 +0200
commit348807d23dff1cfda8b7e85a8ccc6794d3286596 (patch)
tree1bf4227b7608cc8e5fa6eb49fb53b0bb109975fd /indra
parent68267b611cc6b6ba351858f37cdc1fe1fd5f8a78 (diff)
MAINT-2465 FIXED Viewer crash when hovering in fast timers floater
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfasttimerview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp
index 4a059fdc67..fabf5f09f7 100644
--- a/indra/newview/llfasttimerview.cpp
+++ b/indra/newview/llfasttimerview.cpp
@@ -238,7 +238,7 @@ BOOL LLFastTimerView::handleHover(S32 x, S32 y, MASK mask)
{
return TRUE;
}
- else if (mHoverBarIndex == -1)
+ else if (mHoverBarIndex < 0)
{
mHoverBarIndex = 0;
}
@@ -260,7 +260,7 @@ BOOL LLFastTimerView::handleHover(S32 x, S32 y, MASK mask)
{
hover_bar = &bar;
if (bar.mTimeBlock->getTreeNode().mCollapsed)
- {
+ {
// stop on first collapsed BlockTimerStatHandle, since we can't select any children
break;
}