Fix Coverity-discovered typo.
This commit is contained in:
parent
fed56572f8
commit
0a2a3c9903
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue