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
|
else
|
||||||
pos.x = last.x;
|
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;
|
pos.y = last.y + deltaGrid.y;
|
||||||
else
|
else
|
||||||
pos.y = last.y;
|
pos.y = last.y;
|
||||||
|
|
Loading…
Reference in New Issue