Browse Source

Correct return type in mapCoords

7.0
Seth Hillbrand 4 years ago
parent
commit
04c46a8fd2
  1. 4
      eeschema/tools/ee_tool_base.h

4
eeschema/tools/ee_tool_base.h

@ -187,12 +187,12 @@ inline VECTOR2I mapCoords( const wxPoint& aCoord )
inline VECTOR2I mapCoords( const VECTOR2I& aCoord )
{
return wxPoint( aCoord.x, -aCoord.y );
return VECTOR2I( aCoord.x, -aCoord.y );
}
inline VECTOR2I mapCoords( const int x, const int y )
{
return wxPoint( x, -y );
return VECTOR2I( x, -y );
}
#endif
Loading…
Cancel
Save