X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxtools.c;h=35d4eff02360d3e184b04f4dba93d9f3a480b590;hb=a755742b7593e496f3e415ef2caa4321a4150b1e;hp=f6853daff5caa667b665277df2342cbc6d29b7de;hpb=395359a0831639fcc30aab4ea897e23ff8ab420c;p=swftools.git diff --git a/lib/gfxtools.c b/lib/gfxtools.c index f6853da..35d4eff 100644 --- a/lib/gfxtools.c +++ b/lib/gfxtools.c @@ -658,8 +658,8 @@ gfxbbox_t gfxbbox_expand_to_point(gfxbbox_t box, gfxcoord_t x, gfxcoord_t y) gfxbbox_t gfxbbox_expand_to_bbox(gfxbbox_t box, gfxbbox_t box2) { - gfxbbox_expand_to_point(box, box2.xmin, box2.ymin); - gfxbbox_expand_to_point(box, box2.xmax, box2.ymax); + box = gfxbbox_expand_to_point(box, box2.xmin, box2.ymin); + box = gfxbbox_expand_to_point(box, box2.xmax, box2.ymax); return box; }