fixed very minor compil warning
This commit is contained in:
parent
b102776b5f
commit
e286b6f81d
|
@ -277,7 +277,7 @@ void DIALOG_EESCHEMA_CONFIG::OnRemoveLibClick( wxCommandEvent& event )
|
||||||
if( m_ListLibr->GetCount() > 0 && selections.GetCount() > 0 )
|
if( m_ListLibr->GetCount() > 0 && selections.GetCount() > 0 )
|
||||||
{
|
{
|
||||||
int pos = selections[selections.GetCount()-1];
|
int pos = selections[selections.GetCount()-1];
|
||||||
if( pos == m_ListLibr->GetCount() )
|
if( pos == (int)m_ListLibr->GetCount() )
|
||||||
pos = m_ListLibr->GetCount() - 1;
|
pos = m_ListLibr->GetCount() - 1;
|
||||||
m_ListLibr->SetSelection( pos );
|
m_ListLibr->SetSelection( pos );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue