Fix typo.
This commit is contained in:
parent
576f3dc2fd
commit
306dfef7e5
|
@ -50,7 +50,7 @@ EDA_ITEM* EE_SELECTION::GetTopLeftItem( bool onlyModules ) const
|
|||
{
|
||||
VECTOR2I pos = aItem->GetPosition();
|
||||
|
||||
if( ( aCurrent == nullptr )
|
||||
if( ( *aCurrent == nullptr )
|
||||
|| ( pos.x < aCurrentPos->x )
|
||||
|| ( pos.x == aCurrentPos->x && pos.y < aCurrentPos->y ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue