From d08ced9a454646bd005aee63ca2dcd49d194c1d6 Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 1 Nov 2011 02:38:28 +0000 Subject: [PATCH] and set have to false in other error cases. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64599 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_map.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index df8f0d9..c9001dd 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -1164,6 +1164,7 @@ grid_clear(Evas_Object *obj, Grid *g) DBG("DOWNLOAD abort %s", gi->file); ecore_file_download_abort(gi->job); ecore_file_remove(gi->file); + gi->have = EINA_FALSE; gi->job = NULL; wd->try_num--; } @@ -1223,6 +1224,7 @@ _tile_downloaded(void *data, const char *file __UNUSED__, int status) { DBG("Download failed %s (%d) ", gi->file, status); ecore_file_remove(gi->file); + gi->have = EINA_FALSE; } else gi->wd->finish_num++; -- 2.7.4