From 6507dbf3ad14aef28d2a5db5f33d5f31d96a2ada Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 24 Apr 2017 00:00:47 +0200 Subject: [PATCH] Fixed code formatting & comments typos --- include/preview_items/arc_geom_manager.h | 1 - include/preview_items/multistep_geom_manager.h | 2 +- pcbnew/tools/drawing_tool.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/preview_items/arc_geom_manager.h b/include/preview_items/arc_geom_manager.h index 4c39fd1c41..c563b486f8 100644 --- a/include/preview_items/arc_geom_manager.h +++ b/include/preview_items/arc_geom_manager.h @@ -58,7 +58,6 @@ public: COMPLETE }; - int getMaxStep() const override { return COMPLETE; diff --git a/include/preview_items/multistep_geom_manager.h b/include/preview_items/multistep_geom_manager.h index 83f73f6e1e..2e7c2dd7cc 100644 --- a/include/preview_items/multistep_geom_manager.h +++ b/include/preview_items/multistep_geom_manager.h @@ -55,7 +55,7 @@ public: * @param aPt the new point * @param aLockIn whether to "lock in" the point, and move the * geometry manager to the next (or previous) step. False to - * update geomtry and not affect manager state + * update geometry and not affect manager state */ void AddPoint( const VECTOR2I& aPt, bool aLockIn ) { diff --git a/pcbnew/tools/drawing_tool.cpp b/pcbnew/tools/drawing_tool.cpp index f985b34c60..23e710281e 100644 --- a/pcbnew/tools/drawing_tool.cpp +++ b/pcbnew/tools/drawing_tool.cpp @@ -1079,7 +1079,7 @@ bool DRAWING_TOOL::drawSegment( int aShape, DRAWSEGMENT*& aGraphic, /** * Update an arc DRAWSEGMENT from the current state - * of an Arc Geoemetry Manager + * of an Arc Geometry Manager */ static void updateArcFromConstructionMgr( const KIGFX::PREVIEW::ARC_GEOM_MANAGER& aMgr,