diff options
author | Miklós Erdélyi <erdelyim@gmail.com> | 2006-11-01 16:08:30 -0500 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-11-02 13:02:08 -0800 |
commit | 510aae20005acf4ed1d91edcb07df688f6ce1fed (patch) | |
tree | 9515de4c154dfe0f01c82ecbe05c0c78befb379a | |
parent | b20171cf303cd4404fee31da77128a57c3ad4a8d (diff) |
Pass correct surface to create_similar in _cairo_clip_init_deep_copy()
This is already done in master as part of other changes.
Submitted here:
http://lists.freedesktop.org/archives/cairo/2006-August/007698.html
-rw-r--r-- | src/cairo-clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-clip.c b/src/cairo-clip.c index 630ec89f2..a201dd6f8 100644 --- a/src/cairo-clip.c +++ b/src/cairo-clip.c @@ -525,7 +525,7 @@ _cairo_clip_init_deep_copy (cairo_clip_t *clip, } if (other->surface) { - _cairo_surface_clone_similar (target, clip->surface, &clip->surface); + _cairo_surface_clone_similar (target, other->surface, &clip->surface); clip->surface_rect = other->surface_rect; } |