evas load - dont lose skip flg update after async head skip load fix

119d9f39dd 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
This commit is contained in:
Carsten Haitzler 2020-08-30 18:46:48 +01:00
parent 119d9f39dd
commit 4098515779
1 changed files with 2 additions and 1 deletions

View File

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