summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-06-15 16:02:45 +0300
committerMike Antipov <mantipov@productengine.com>2010-06-15 16:02:45 +0300
commit55cc54a06faebb26a4ee2df24bfc9c98ea858f62 (patch)
tree5e370f851727ef1053af35e37af9d9af7bceb779 /indra/llui
parentc773e01fbf795d8d40b19f8d9163898712509770 (diff)
EXT-7860 FIXED added check against NULL for member pointer.
Reviewed by Vadim Savchuk. --HG-- branch : product-engine
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llaccordionctrltab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llaccordionctrltab.cpp b/indra/llui/llaccordionctrltab.cpp
index be231fd8cf..54bb328a18 100644
--- a/indra/llui/llaccordionctrltab.cpp
+++ b/indra/llui/llaccordionctrltab.cpp
@@ -974,7 +974,7 @@ BOOL LLAccordionCtrlTab::handleScrollWheel ( S32 x, S32 y, S32 clicks )
{
return TRUE;
}
- if( mScrollbar->getVisible() && mScrollbar->handleScrollWheel( 0, 0, clicks ) )
+ if( mScrollbar && mScrollbar->getVisible() && mScrollbar->handleScrollWheel( 0, 0, clicks ) )
{
return TRUE;
}