Fix a typo than can create a crash

Fixes #15126
https://gitlab.com/kicad/code/kicad/-/issues/15126
This commit is contained in:
jean-pierre charras
2023-07-07 10:17:02 +02:00
parent 0fd2efa283
commit 4f7e9bead5
+1 -1
View File
@@ -333,7 +333,7 @@ void BRDITEMS_PLOTTER::PlotFootprintTextItems( const FOOTPRINT* aFootprint )
if( text->GetText() == wxT( "${VALUE}" ) && !GetPlotValue() )
continue;
PlotText( text, textLayer, textItem->IsKnockout() );
PlotText( text, textLayer, text->IsKnockout() );
}
}