coverity#1296211 pCurWin == pNewWin at this point
should silence coverity#1296211 Explicit null dereferenced Change-Id: I0798db1b88bfec94139995db552029b18a9562af
This commit is contained in:
parent
c103554eb6
commit
cee3e3d76f
@ -1003,7 +1003,7 @@ void Shell::SetCurWindow( BaseWindow* pNewWin, bool bUpdateTabBar, bool bRemembe
|
||||
while ( pFocusWindow && ( pFocusWindow != pFrameWindow ) )
|
||||
pFocusWindow = pFocusWindow->GetParent();
|
||||
if ( pFocusWindow ) // Focus in BasicIDE
|
||||
pNewWin->GrabFocus();
|
||||
pCurWin->GrabFocus();
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user