summaryrefslogtreecommitdiff
path: root/src/cairo-hull.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-10-04 09:30:32 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2007-10-04 09:30:32 +0100
commitf4356efb64a043e7a459fe77616f3b7c92b25c49 (patch)
tree5a171fb7d3120129c0f85cd4d43f6ff518fc4c91 /src/cairo-hull.c
parentef5f460eb1f86a73e016c1150723ae1e70b3b037 (diff)
downloadcairo-f4356efb64a043e7a459fe77616f3b7c92b25c49.tar.gz
[malloc/error] Fixup _cairo_error (CAIRO_STATUS_SUCCESS)!
At some point during the blitz, I accidentally wrote _cairo_error (CAIRO_STATUS_SUCCESS) and then proceeded to paste it into the next 30 error sites! s/CAIRO_STATUS_SUCCESS/CAIRO_STATUS_NO_MEMORY/
Diffstat (limited to 'src/cairo-hull.c')
-rw-r--r--src/cairo-hull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-hull.c b/src/cairo-hull.c
index fb4e71c36..f5d05e471 100644
--- a/src/cairo-hull.c
+++ b/src/cairo-hull.c
@@ -64,7 +64,7 @@ _cairo_hull_create (cairo_pen_vertex_t *vertices, int num_vertices)
hull = _cairo_malloc_ab (num_vertices, sizeof (cairo_hull_t));
if (hull == NULL) {
- _cairo_error (CAIRO_STATUS_SUCCESS);
+ _cairo_error (CAIRO_STATUS_NO_MEMORY);
return NULL;
}