coverity#1312086 Out-of-bounds read
Change-Id: I7885f8ba5ec4c6e60d88f6caab0c25cb760529ef
This commit is contained in:
@@ -89,7 +89,7 @@ class FileViewContainer : public vcl::Window
|
|||||||
if( !m_pFileView || !m_pTreeView )
|
if( !m_pFileView || !m_pTreeView )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( !bReverse && m_nCurrentFocus < 4 )
|
if( !bReverse && m_nCurrentFocus < 3 )
|
||||||
{
|
{
|
||||||
m_pFocusWidgets[++m_nCurrentFocus]->SetFakeFocus( true );
|
m_pFocusWidgets[++m_nCurrentFocus]->SetFakeFocus( true );
|
||||||
m_pFocusWidgets[m_nCurrentFocus]->GrabFocus();
|
m_pFocusWidgets[m_nCurrentFocus]->GrabFocus();
|
||||||
|
Reference in New Issue
Block a user