Fix for Prevent Issue
authorAyush <ayush.sriv@samsung.com>
Tue, 16 Jul 2013 05:56:18 +0000 (11:26 +0530)
committerAyush <ayush.sriv@samsung.com>
Tue, 16 Jul 2013 05:56:18 +0000 (11:26 +0530)
Change-Id: Ibaef935c0ca40775f5fea584ad45fe178d7aaf36
Signed-off-by: Ayush <ayush.sriv@samsung.com>
src/ui/controls/FUiCtrl_MessageBoxPresenter.cpp

index 5170f68..834de96 100644 (file)
@@ -1374,7 +1374,7 @@ _MessageBoxPresenter::OnDrawFocus(void)
        _ControlImpl* pImpl = null;
        _Button* pButtonCore = null;
 
-       if (__pButtons != null)
+       if (__pButtons[0] != null)
        {
                pImpl = _ControlImpl::GetInstance(*__pButtons[0]);
                pButtonCore = dynamic_cast<_Button*>(&pImpl->GetCore());