Make sure all our VC projects agree that the product is called 'Mixbus3' (as opposed...
[ardour.git] / libs / clearlooks-newer / cairo-support.c
index 63245f48330483b68e8382734fc29fb08a397196..fa195776a2ae43c7a04bb9c3f9be9d7792fee6f0 100644 (file)
@@ -491,7 +491,7 @@ void ge_cairo_polygon (cairo_t *cr,
                }
        }
        
-       if ((points[npoints-1].x != points[0].y) ||
+       if ((points[npoints-1].x != points[0].x) ||
                (points[npoints-1].y != points[0].y))
        {
                cairo_line_to(cr, points[0].x, points[0].y);