cairo-meta-surface - propagate trivial status return

_cairo_path_fixed_init_copy() could fail so propagate it's status.
This commit is contained in:
Chris Wilson 2007-04-08 21:20:42 +01:00
parent 75cc5e04d5
commit 78c0d62ba7

View file

@ -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;
}