MacOSX: fixing possible crash

This commit is contained in:
marco. 2012-12-23 11:55:24 +01:00
parent 9ba242bc1f
commit 6c867989ca
1 changed files with 1 additions and 2 deletions

View File

@ -128,8 +128,7 @@ static void Show_MoveNode( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aPo
for( unsigned ii = 0; ii < g_DragSegmentList.size(); ii++ )
{
if( aErase )
track = g_DragSegmentList[ii].m_Track;
track = g_DragSegmentList[ii].m_Track;
if( aErase )
track->Draw( aPanel, aDC, draw_mode );