mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-02 07:18:05 +02:00
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:
parent
bb24f165ff
commit
bf4f5f3a90
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue