diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-10-04 09:30:32 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2007-10-04 09:30:32 +0100 |
commit | f4356efb64a043e7a459fe77616f3b7c92b25c49 (patch) | |
tree | 5a171fb7d3120129c0f85cd4d43f6ff518fc4c91 /src/cairo-meta-surface.c | |
parent | ef5f460eb1f86a73e016c1150723ae1e70b3b037 (diff) | |
download | cairo-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-meta-surface.c')
-rw-r--r-- | src/cairo-meta-surface.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cairo-meta-surface.c b/src/cairo-meta-surface.c index 3fc61a8f1..ac43be998 100644 --- a/src/cairo-meta-surface.c +++ b/src/cairo-meta-surface.c @@ -253,7 +253,7 @@ _cairo_meta_surface_paint (void *abstract_surface, command = malloc (sizeof (cairo_command_paint_t)); if (command == NULL) { - _cairo_error (CAIRO_STATUS_SUCCESS); + _cairo_error (CAIRO_STATUS_NO_MEMORY); return CAIRO_STATUS_NO_MEMORY; } @@ -296,7 +296,7 @@ _cairo_meta_surface_mask (void *abstract_surface, command = malloc (sizeof (cairo_command_mask_t)); if (command == NULL) { - _cairo_error (CAIRO_STATUS_SUCCESS); + _cairo_error (CAIRO_STATUS_NO_MEMORY); return CAIRO_STATUS_NO_MEMORY; } @@ -344,7 +344,7 @@ _cairo_meta_surface_stroke (void *abstract_surface, command = malloc (sizeof (cairo_command_stroke_t)); if (command == NULL) { - _cairo_error (CAIRO_STATUS_SUCCESS); + _cairo_error (CAIRO_STATUS_NO_MEMORY); return CAIRO_STATUS_NO_MEMORY; } @@ -401,7 +401,7 @@ _cairo_meta_surface_fill (void *abstract_surface, command = malloc (sizeof (cairo_command_fill_t)); if (command == NULL) { - _cairo_error (CAIRO_STATUS_SUCCESS); + _cairo_error (CAIRO_STATUS_NO_MEMORY); return CAIRO_STATUS_NO_MEMORY; } @@ -450,7 +450,7 @@ _cairo_meta_surface_show_glyphs (void *abstract_surface, command = malloc (sizeof (cairo_command_show_glyphs_t)); if (command == NULL) { - _cairo_error (CAIRO_STATUS_SUCCESS); + _cairo_error (CAIRO_STATUS_NO_MEMORY); return CAIRO_STATUS_NO_MEMORY; } |