From 4098515779869ce121374c98c82947aeda7436ba Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 30 Aug 2020 18:46:48 +0100 Subject: [PATCH] evas load - dont lose skip flg update after async head skip load fix 119d9f39dd9ba67068a6abb77990ea859d4266f6 fixed async loads when head skip was on but it broke informing the evas image object of the file handles etc. by losing the skip head flag in the image entry. this fixes that --- src/lib/evas/cache/evas_cache_image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/evas/cache/evas_cache_image.c b/src/lib/evas/cache/evas_cache_image.c index 747fcf9c89..f4921ef196 100644 --- a/src/lib/evas/cache/evas_cache_image.c +++ b/src/lib/evas/cache/evas_cache_image.c @@ -863,6 +863,7 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file, struct stat st; Image_Timestamp tstamp; Evas_Image_Load_Opts tlo; + Eina_Bool skip = lo->skip_head; if (!file) { @@ -884,7 +885,7 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file, size += key_length; size += _evas_cache_image_loadopts_append(hkey + size, &lo); tlo = *lo; - tlo.skip_head = lo->skip_head; + tlo.skip_head = skip; /* find image by key in active hash */ SLKL(engine_lock);