fix a pair of buffer overflows from r65619

SVN revision: 66121
This commit is contained in:
Mike Blumenkrantz 2011-12-12 19:59:25 +00:00
parent 8b22f52e80
commit b8f17dd903
1 changed files with 2 additions and 2 deletions

View File

@ -2545,11 +2545,11 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
}
else if (p1->persp_on)
{
memcpy(&p3->map.persp, &p1->map.persp, sizeof (p1->map.light));
memcpy(&p3->map.persp, &p1->map.persp, sizeof (p1->map.persp));
}
else if (p2->persp_on)
{
memcpy(&p3->map.persp, &p2->map.persp, sizeof (p2->map.light));
memcpy(&p3->map.persp, &p2->map.persp, sizeof (p2->map.persp));
}
}