mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 02:38:07 +02:00
cairo-meta-surface - propagate trivial status return
_cairo_path_fixed_init_copy() could fail so propagate it's status.
This commit is contained in:
parent
75cc5e04d5
commit
78c0d62ba7
1 changed files with 3 additions and 1 deletions
|
|
@ -668,7 +668,9 @@ _cairo_meta_surface_replay (cairo_surface_t *surface,
|
|||
|
||||
dev_path = _cairo_command_get_path (command);
|
||||
if (dev_path && has_device_transform) {
|
||||
_cairo_path_fixed_init_copy (&path_copy, dev_path);
|
||||
status = _cairo_path_fixed_init_copy (&path_copy, dev_path);
|
||||
if (status)
|
||||
break;
|
||||
_cairo_path_fixed_device_transform (&path_copy, device_transform);
|
||||
dev_path = &path_copy;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue