From: Cedric BAIL Date: Mon, 14 Jan 2013 10:11:27 +0000 (+0000) Subject: eio: fix wrong container set in eio_file_map_new. X-Git-Tag: submit/devel/efl/20131022.203902~2275 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f74ca2f5a290b15a7f99a03eec127f9eba2b2d28;p=platform%2Fupstream%2Fefl.git eio: fix wrong container set in eio_file_map_new. Bug reported by Kuri. SVN revision: 82749 --- diff --git a/ChangeLog b/ChangeLog index ef531fb..85be617 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-01-14 Cedric Bail + + * Fix bug in eio_file_map_new container set. + 2013-01-14 Albin Tonerre * Fix endianess issue in Eet_Image. diff --git a/NEWS b/NEWS index 6541f05..962d2c2 100644 --- a/NEWS +++ b/NEWS @@ -110,3 +110,4 @@ Fixes: * Fix not up to date clip cache for Evas_Object_Text. * Evas texblock: Fixed a bug with breaking after format items. * Fix endianess issue in Eet_Image. + * Fix bug in eio_file_map_new container set. diff --git a/src/lib/eio/eio_map.c b/src/lib/eio/eio_map.c index 8efa48c..9f913e1 100644 --- a/src/lib/eio/eio_map.c +++ b/src/lib/eio/eio_map.c @@ -295,7 +295,7 @@ eio_file_map_new(Eina_File *f, map = malloc(sizeof (Eio_File_Map_Rule)); EINA_SAFETY_ON_NULL_RETURN_VAL(map, NULL); - map->common.container = f; + map->file = f; map->filter_cb = filter_cb; map->map_cb = map_cb; map->rule = rule;