really minor fix - to invalidate cache on memfile set.. set to not has
authorCarsten Haitzler <raster@rasterman.com>
Fri, 7 Sep 2012 05:27:55 +0000 (05:27 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Fri, 7 Sep 2012 05:27:55 +0000 (05:27 +0000)
cur alpha then the cur alpha flag! :)

SVN revision: 76275

legacy/evas/src/lib/canvas/evas_object_image.c

index 6ba36e0..a46c292 100644 (file)
@@ -300,7 +300,7 @@ evas_object_image_memfile_set(Evas_Object *obj, void *data, int size, char *form
    evas_object_image_file_set(obj, NULL, NULL);
    // invalidate the cache effectively
    evas_object_image_alpha_set(obj, !o->cur.has_alpha);
-   evas_object_image_alpha_set(obj, !o->cur.has_alpha);
+   evas_object_image_alpha_set(obj, o->cur.has_alpha);
 
    if ((size < 1) || (!data)) return;