From 4f7e9bead50d43c4fa2a53e963bc2976f15b053f Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 7 Jul 2023 10:17:02 +0200 Subject: [PATCH] Fix a typo than can create a crash Fixes #15126 https://gitlab.com/kicad/code/kicad/-/issues/15126 --- pcbnew/plot_brditems_plotter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/plot_brditems_plotter.cpp b/pcbnew/plot_brditems_plotter.cpp index 1057817c4e..d6efe1e50d 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -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() ); } }