From 20dcf43fddc4872e42efd19158254054c0ccc37d Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 15 Dec 2021 23:38:51 +0000 Subject: [PATCH] Fix typo. Fixes https://gitlab.com/kicad/code/kicad/issues/10009 --- pcbnew/pad_custom_shape_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pad_custom_shape_functions.cpp b/pcbnew/pad_custom_shape_functions.cpp index 713a9add6d..62778824e5 100644 --- a/pcbnew/pad_custom_shape_functions.cpp +++ b/pcbnew/pad_custom_shape_functions.cpp @@ -221,7 +221,7 @@ void PAD::MergePrimitivesAsPolygon( SHAPE_POLY_SET* aMergedPolygon, ERROR_LOC aE default: case PAD_SHAPE::CIRCLE: TransformCircleToPolygon( *aMergedPolygon, wxPoint( 0, 0 ), GetSize().x / 2, maxError, - ERROR_INSIDE ); + aErrorLoc ); break; }