From 75e8a98f513e75e2a09dc3e96edc5111af9c1abf Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 15 Nov 2004 11:03:27 +0000 Subject: [PATCH] fixed swf_ExpandRect3(). --- lib/rfxswf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/rfxswf.c b/lib/rfxswf.c index f0ece33..e6f30c1 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -542,11 +542,11 @@ void swf_ExpandRect3(SRECT*src, SPOINT center, int radius) if(center.x - radius < src->xmin) src->xmin = center.x - radius; if(center.x + radius > src->xmax) - src->xmax = center.x - radius; + src->xmax = center.x + radius; if(center.y - radius < src->ymin) src->ymin = center.y - radius; if(center.y + radius > src->ymax) - src->ymax = center.y - radius; + src->ymax = center.y + radius; } SPOINT swf_TurnPoint(SPOINT p, MATRIX* m) { @@ -1514,3 +1514,4 @@ void swf_FreeTags(SWF * swf) // Frees all malloc'ed memory for t #include "modules/swfaction.c" #include "modules/swfsound.c" #include "modules/swfdraw.c" +#include "modules/swfrender.c" -- 1.7.10.4