From 8b7d997a6dba6be888626e7af691f4a979d3418d Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 8 Nov 2022 20:30:07 -0800 Subject: [PATCH] Fix broken refactor Don't trust the automatic refactor. It misses the strangest things --- pcbnew/pcb_painter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_painter.cpp b/pcbnew/pcb_painter.cpp index 06632b2a2c..2d7486abf8 100644 --- a/pcbnew/pcb_painter.cpp +++ b/pcbnew/pcb_painter.cpp @@ -2377,7 +2377,7 @@ void PCB_PAINTER::draw( const ZONE* aZone, int aLayer ) // Draw holes int holes_count = outline->HoleCount( ii ); - for( int jj = 0; ii < holes_count; ++jj ) + for( int jj = 0; jj < holes_count; ++jj ) m_gal->DrawPolyline( outline->CHole( ii, jj ) ); }