Don't confuse Coverity.

This commit is contained in:
Jeff Young 2023-09-30 17:40:27 +01:00
parent 02bbfc8f57
commit 867ca2d0da
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ void LIB_TREE::onIdle( wxIdleEvent& aEvent )
bool mouseOverWindow = false; bool mouseOverWindow = false;
wxPoint screenPos = wxGetMousePosition(); wxPoint screenPos = wxGetMousePosition();
if( m_tree_ctrl && m_tree_ctrl->IsShown() ) if( m_tree_ctrl->IsShown() )
mouseOverWindow |= m_tree_ctrl->GetScreenRect().Contains( screenPos ); mouseOverWindow |= m_tree_ctrl->GetScreenRect().Contains( screenPos );
if( m_previewWindow && m_previewWindow->IsShown() ) if( m_previewWindow && m_previewWindow->IsShown() )