From f202e5318c19c2af93c1aec0018460e481c7e08f Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 5 Jun 2015 17:48:59 +0200 Subject: [PATCH] Fixed SELECTION_CONDITIONS::lessThanFunc(). --- pcbnew/tools/selection_conditions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/selection_conditions.cpp b/pcbnew/tools/selection_conditions.cpp index 9b600899d1..db4c736b4f 100644 --- a/pcbnew/tools/selection_conditions.cpp +++ b/pcbnew/tools/selection_conditions.cpp @@ -122,7 +122,7 @@ bool SELECTION_CONDITIONS::moreThanFunc( const SELECTION& aSelection, int aNumbe bool SELECTION_CONDITIONS::lessThanFunc( const SELECTION& aSelection, int aNumber ) { - return aSelection.Size() > aNumber; + return aSelection.Size() < aNumber; }