diff --git a/include/mapnik/geometry.hpp b/include/mapnik/geometry.hpp index 4d98121f4..38f7e6799 100644 --- a/include/mapnik/geometry.hpp +++ b/include/mapnik/geometry.hpp @@ -237,7 +237,7 @@ public: double x0, y0; cont_.get_vertex(0, &x0, &y0); return distance(x, y, x0, y0) <= abs(tol); - } else if (cont_.size() == 1) { + } else if (cont_.size() > 1) { bool inside=false; double x0, y0; rewind(0);