From 55cc54a06faebb26a4ee2df24bfc9c98ea858f62 Mon Sep 17 00:00:00 2001 From: Mike Antipov Date: Tue, 15 Jun 2010 16:02:45 +0300 Subject: EXT-7860 FIXED added check against NULL for member pointer. Reviewed by Vadim Savchuk. --HG-- branch : product-engine --- indra/llui/llaccordionctrltab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3