Edje: fix invalid read on edje embryo get_part_id
authorbdilly <bdilly@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
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)
commit0cb47324ff2a336500319bead7a5ef9a14106658
treed29b93a75aa4c95bc8f4ff47cfcef297e855dbe5
parent4ccca19675ae9ff969381e0bfc2f957b820ea8f4
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