From 08385437456b2d78ed414c1b6f7197aaa56e9c12 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 7 Mar 2022 19:53:01 -0800 Subject: [PATCH] Fix cherry-pick error --- eeschema/lib_shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/lib_shape.cpp b/eeschema/lib_shape.cpp index 0f4a19c912..4b330cd702 100644 --- a/eeschema/lib_shape.cpp +++ b/eeschema/lib_shape.cpp @@ -259,7 +259,7 @@ void LIB_SHAPE::print( const RENDER_SETTINGS* aSettings, const wxPoint& aOffset, // N.B. The order of evaluation is critical here as MapAngles will modify t1, t2 // and the Normalize routine depends on these modifications for the correct output bool transformed = aTransform.MapAngles( &t1, &t2 ); - bool transformed2 = ( ( t1 - t2 ).Normalize180() > 0 ); + bool transformed2 = ( NormalizeAngle180( t1 - t2 ) > 0 ); if( transformed == transformed2 ) std::swap( pt1, pt2 );