src/editmodes/magicWandMode.cpp

changeset 1063
1f15c52c11f6
parent 1031
55c0d3beea0d
child 1065
c8ecddbd99e9
--- 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.

mercurial