summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2014-08-14 00:00:56 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-08-14 00:03:18 +0900
commitc8976fb21edb15ad8fc5e34e0406c3a830088d1d (patch)
treef78b4d79976fed9d82b878980f2fa6fc2e64a762 /src/bin/edje
parentcb2f558ecfe621e90b518d14ad8c5169a48d5c5c (diff)
edje_pick: fix a segfault on 'set' copy
Summary: wrong structure, a Edje_Image_Directory_Set_Entry, used for copy a set's data to new file. @fix Reviewers: raster, seoz, cedric, Hermet Reviewed By: Hermet Subscribers: Sachiel, cedric, seoz Differential Revision: https://phab.enlightenment.org/D1304
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_pick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/edje/edje_pick.c b/src/bin/edje/edje_pick.c
index f4d80a6793..fa270783f0 100644
--- a/src/bin/edje/edje_pick.c
+++ b/src/bin/edje/edje_pick.c
@@ -777,7 +777,7 @@ _edje_pick_images_add(Edje_File *edf, Edje_File *o)
777 /* Concatinate current file sets to re-allocaed array */ 777 /* Concatinate current file sets to re-allocaed array */
778 memcpy(&o->image_dir->sets[k], edf->image_dir->sets, 778 memcpy(&o->image_dir->sets[k], edf->image_dir->sets,
779 edf->image_dir->sets_count * 779 edf->image_dir->sets_count *
780 sizeof(Edje_Image_Directory_Set_Entry)); 780 sizeof(Edje_Image_Directory_Set));
781 781
782 for (; k < o->image_dir->sets_count; k++) 782 for (; k < o->image_dir->sets_count; k++)
783 { /* Fix IDs in sets to new assigned IDs of entries */ 783 { /* Fix IDs in sets to new assigned IDs of entries */