Edje: fix invalid read on edje embryo get_part_id
authorbdilly <bdilly>
Mon, 20 Jun 2011 21:59:31 +0000 (21:59 +0000)
committerbdilly <bdilly@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 20 Jun 2011 21:59:31 +0000 (21:59 +0000)
commitc85cb19c8fb303dc1a3ef5eb0c9eef70fbd8aac5
treed29b93a75aa4c95bc8f4ff47cfcef297e855dbe5
parentd6b62044bb1e3aae2bbe98d338ca76c90d2053cd
Edje: fix invalid read on edje embryo get_part_id

It was expecting for a null terminator. But that wasn't the
case. Using parts_count instead.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@60537 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/edje_embryo.c