update editrack-part2.cpp

This commit is contained in:
CHARRAS 2007-09-04 14:32:06 +00:00
parent 2bd88d356c
commit 8383ce256e
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ void WinEDA_PcbFrame::Other_Layer_Route( TRACK* track, wxDC* DC )
Via->m_NetCode = g_HightLigth_NetCode;
Via->m_Start = Via->m_End = g_CurrentTrackSegment->m_End;
int old_layer = GetScreen()->m_Active_Layer );
int old_layer = GetScreen()->m_Active_Layer;
//swap the layers.
if( GetScreen()->m_Active_Layer != GetScreen()->m_Route_Layer_TOP )