evas cache - fix return val to fix warning
fix return val if cache is null (something bad happening)
This commit is contained in:
parent
91086fca39
commit
6d9d978faf
|
@ -507,7 +507,7 @@ _evas_cache_image_entry_preload_add(Image_Entry *ie, const Eo *target,
|
|||
Evas_Cache_Target *tg;
|
||||
Image_Entry_Task *task;
|
||||
|
||||
if (!ie->cache) return;
|
||||
if (!ie->cache) return 0;
|
||||
evas_cache_image_ref(ie);
|
||||
if (ie->flags.preload_done)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue