From f74ca2f5a290b15a7f99a03eec127f9eba2b2d28 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 14 Jan 2013 10:11:27 +0000 Subject: [PATCH] eio: fix wrong container set in eio_file_map_new. Bug reported by Kuri. SVN revision: 82749 --- ChangeLog | 4 ++++ NEWS | 1 + src/lib/eio/eio_map.c | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef531fbc26..85be617199 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 6541f05457..962d2c2cc7 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 8efa48c8f2..9f913e1d74 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;