cairo-script: Return a cairo_status_t error, not FALSE

This typo results in certain paths being incorrectly recorded with
script surfaces.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=91054
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
Bryce Harrington 2015-06-26 16:30:06 -07:00
parent bb24f165ff
commit bf4f5f3a90

View file

@ -1837,7 +1837,7 @@ _emit_path_boxes (cairo_script_surface_t *surface,
if (! _cairo_path_fixed_iter_at_end (&iter)) {
_cairo_boxes_fini (&boxes);
return FALSE;
return CAIRO_STATUS_INVALID_PATH_DATA;
}
for (chunk = &boxes.chunks; chunk; chunk = chunk->next) {