diff --git a/pcbnew/exporters/export_hyperlynx.cpp b/pcbnew/exporters/export_hyperlynx.cpp index 02294409aa..052808a5c1 100644 --- a/pcbnew/exporters/export_hyperlynx.cpp +++ b/pcbnew/exporters/export_hyperlynx.cpp @@ -486,7 +486,7 @@ bool HYPERLYNX_EXPORTER::writeNetObjects( const std::vector& aObjec VECTOR2I start = arc->GetStart(); VECTOR2I end = arc->GetEnd(); - if( arc->IsCCW() ) + if( !arc->IsCCW() ) std::swap( start, end ); m_out->Print( 1, "(ARC X1=%.10f Y1=%.10f X2=%.10f Y2=%.10f XC=%.10f YC=%.10f R=%.10f W=%.10f L=\"%s\")\n",