Fix Coverity-discovered typo.

This commit is contained in:
Jeff Young 2021-01-19 10:56:43 +00:00
parent fed56572f8
commit 0a2a3c9903
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ int PCB_POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
else
pos.x = last.x;
if( abs( delta.y ) > grid.GetGrid().x / 2 )
if( abs( delta.y ) > grid.GetGrid().y / 2 )
pos.y = last.y + deltaGrid.y;
else
pos.y = last.y;