projects
/
profile
/
ivi
/
edje.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7bd3f1
)
* edje: fix edje image generation.
author
cedric
<cedric>
Thu, 5 Aug 2010 10:00:16 +0000
(10:00 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 5 Aug 2010 10:00:16 +0000
(10:00 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@50832
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/edje_convert.c
patch
|
blob
|
history
diff --git
a/src/lib/edje_convert.c
b/src/lib/edje_convert.c
index
af8551c
..
354a53b
100644
(file)
--- a/
src/lib/edje_convert.c
+++ b/
src/lib/edje_convert.c
@@
-480,7
+480,7
@@
_edje_description_convert(int type,
img->image.tweens_count = eina_list_count(oed->image.tween_list);
img->image.tweens = calloc(img->image.tweens_count,
sizeof (Edje_Part_Image_Id*));
- if (!img->image.tweens)
+ if (
img->image.tweens_count > 0 &&
!img->image.tweens)
{
eina_mempool_free(ce->mp.IMAGE, img);
return NULL;