From 6ca9a42251cbed4a1934bb2d245454828b34a4e8 Mon Sep 17 00:00:00 2001 From: hoijui Date: Tue, 5 Jan 2021 08:42:52 +0100 Subject: [PATCH] Removes 3 other instances of a potential encoding problem Signed-off-by: hoijui --- libs/kimath/src/trigo.cpp | 2 +- pcbnew/router/pns_dragger.h | 2 +- pcbnew/tools/point_editor.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/kimath/src/trigo.cpp b/libs/kimath/src/trigo.cpp index 0ef3f26d43..61eac49f0e 100644 --- a/libs/kimath/src/trigo.cpp +++ b/libs/kimath/src/trigo.cpp @@ -396,7 +396,7 @@ const VECTOR2D GetArcCenter( const VECTOR2D& aStart, const VECTOR2D& aMid, const { if( aStart == aEnd ) { - // This is a special case for a 360° arc. In this case, the center is halfway between + // This is a special case for a 360 degrees arc. In this case, the center is halfway between // the midpoint and either end point center.x = ( aStart.x + aMid.x ) / 2.0; center.y = ( aStart.y + aMid.y ) / 2.0 ; diff --git a/pcbnew/router/pns_dragger.h b/pcbnew/router/pns_dragger.h index 24ed127ec7..6e8751f7b2 100644 --- a/pcbnew/router/pns_dragger.h +++ b/pcbnew/router/pns_dragger.h @@ -141,7 +141,7 @@ private: ///< Contains the list of items that are currently modified by the dragger ITEM_SET m_draggedItems; - ///< If true, moves the connection lines without maintaining 45° corners + ///< If true, moves the connection lines without maintaining 45 degrees corners bool m_freeAngleMode; }; diff --git a/pcbnew/tools/point_editor.cpp b/pcbnew/tools/point_editor.cpp index 37392d7640..5657a4bff5 100644 --- a/pcbnew/tools/point_editor.cpp +++ b/pcbnew/tools/point_editor.cpp @@ -502,7 +502,7 @@ int POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent ) break; } - // The alternative constraint limits to 45° + // The alternative constraint limits to 45 degrees bool enableAltConstraint = !!evt->Modifier( MD_CTRL ); if( enableAltConstraint )