diff --git a/pcbnew/tools/point_editor.cpp b/pcbnew/tools/point_editor.cpp index 049e5f585f..bb1bf3968a 100644 --- a/pcbnew/tools/point_editor.cpp +++ b/pcbnew/tools/point_editor.cpp @@ -221,7 +221,7 @@ bool POINT_EDITOR::Init() void POINT_EDITOR::updateEditedPoint( const TOOL_EVENT& aEvent ) { - EDIT_POINT* point = NULL; + EDIT_POINT* point = m_editedPoint; if( aEvent.IsMotion() ) {