Commit 82a268a6 authored by CHARRAS's avatar CHARRAS

bug solved in block.cpp

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