Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/modules/engines/software_generic


Modified Files:
        evas_engine.c 


Log Message:


fix buffer canvas resizes :)

===================================================================
RCS file: 
/cvs/e/e17/libs/evas/src/modules/engines/software_generic/evas_engine.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- evas_engine.c       19 Dec 2006 14:12:40 -0000      1.15
+++ evas_engine.c       19 Dec 2006 15:06:33 -0000      1.16
@@ -491,6 +491,7 @@
    RGBA_Image *im;
 
    im = evas_common_image_new();
+   if (!im) return NULL;
    im->image = evas_common_image_surface_new(im);
    if (!im->image)
      {
@@ -586,6 +587,7 @@
    if (im_old)
      {
        im->cs.space = im_old->cs.space;
+       im->flags = im_old->flags;
 /*     
        evas_common_load_image_data_from_file(im_old);
        evas_common_image_colorspace_normalize(im);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to