Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/canvas


Modified Files:
        evas_object_image.c 


Log Message:


major oopsie. :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_image.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_object_image.c 13 Feb 2003 10:25:30 -0000      1.5
+++ evas_object_image.c 15 Feb 2003 01:30:32 -0000      1.6
@@ -20,7 +20,7 @@
         short       w, h;
       } image;
       struct {
-        short         l, r, t, b;
+        short       l, r, t, b;
       } border;
 
       char          *file;
@@ -155,12 +155,14 @@
                                                              &o->load_error);
    if (o->engine_data)
      {
+       int w, h;
+       
        
obj->layer->evas->engine.func->image_size_get(obj->layer->evas->engine.data.output,
-                                                     o->engine_data,
-                                                     &(o->cur.image.w),
-                                                     &(o->cur.image.h));
+                                                     o->engine_data, &w, &h);
        o->cur.has_alpha = 
obj->layer->evas->engine.func->image_alpha_get(obj->layer->evas->engine.data.output,
                                                                          
o->engine_data);
+       o->cur.image.w = w;
+       o->cur.image.h = h;
      }
    else
      {
@@ -699,12 +701,14 @@
                                                              &o->load_error);
    if (o->engine_data)
      {
+       int w, h;
+       
        
obj->layer->evas->engine.func->image_size_get(obj->layer->evas->engine.data.output,
-                                                     o->engine_data,
-                                                     &(o->cur.image.w),
-                                                     &(o->cur.image.h));
+                                                     o->engine_data, &w, &h);
        o->cur.has_alpha = 
obj->layer->evas->engine.func->image_alpha_get(obj->layer->evas->engine.data.output,
                                                                          
o->engine_data);
+       o->cur.image.w = w;
+       o->cur.image.h = h;
      }
    else
      {




-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to