Commit 6c867989 authored by marco.'s avatar marco.

MacOSX: fixing possible crash

parent 9ba242bc
...@@ -128,8 +128,7 @@ static void Show_MoveNode( EDA_DRAW_PANEL* aPanel, wxDC* aDC, const wxPoint& aPo ...@@ -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++ ) 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 ) if( aErase )
track->Draw( aPanel, aDC, draw_mode ); track->Draw( aPanel, aDC, draw_mode );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment