--- a/src/editmodes/magicWandMode.cpp Sat Jan 28 13:49:09 2017 +0200 +++ b/src/editmodes/magicWandMode.cpp Sat Jan 28 14:01:19 2017 +0200 @@ -152,7 +152,7 @@ } } - if (matches.size() < matchesneeded) + if (length(matches) < matchesneeded) throw 0; // Not enough matches. // Check if a boundary gets in between the objects.