bug solved in block.cpp

This commit is contained in:
CHARRAS 2008-01-08 13:36:05 +00:00
parent e0a1cc6873
commit 82a268a63e
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ void WinEDA_BasePcbFrame::Block_Delete( wxDC* DC )
for( pt_segm = m_Pcb->m_Zone; pt_segm != NULL; pt_segm = NextSegZ ) for( pt_segm = m_Pcb->m_Zone; pt_segm != NULL; pt_segm = NextSegZ )
{ {
NextSegZ = pt_segm->Next(); NextSegZ = pt_segm->Next();
if( PtStruct->HitTest( GetScreen()->BlockLocate ) ) if( pt_segm->HitTest( GetScreen()->BlockLocate ) )
{ {
pt_segm->DeleteStructure(); pt_segm->DeleteStructure();
} }