diff --git a/clutter/clutter/clutter-canvas.c b/clutter/clutter/clutter-canvas.c index 6c92c449e..98f8c07d2 100644 --- a/clutter/clutter/clutter-canvas.c +++ b/clutter/clutter/clutter-canvas.c @@ -401,7 +401,7 @@ clutter_canvas_emit_draw (ClutterCanvas *self) gboolean res; cairo_t *cr; - g_assert (priv->width > 0 && priv->width > 0); + g_assert (priv->height > 0 && priv->width > 0); priv->dirty = TRUE;