eio: fix wrong container set in eio_file_map_new.

Bug reported by Kuri.


SVN revision: 82749
This commit is contained in:
Cedric BAIL 2013-01-14 10:11:27 +00:00
parent 006e73ec41
commit f74ca2f5a2
3 changed files with 6 additions and 1 deletions

View File

@ -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.

1
NEWS
View File

@ -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.

View File

@ -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;