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:


oops overzealous optimizing made me miss a case... naughty naughty.. very
naughty. fix.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_image.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evas_object_image.c 5 Apr 2003 04:48:14 -0000       1.9
+++ evas_object_image.c 29 Jul 2003 01:42:20 -0000      1.10
@@ -978,7 +978,8 @@
             
             ydy = idy;
             ix = idx;
-            if (o->cur.fill.w == obj->cur.geometry.w)
+            if ((o->cur.fill.w == obj->cur.geometry.w) && 
+                (o->cur.fill.x == 0.0))
               {
                  dobreak_w = 1;
                  iw = obj->cur.cache.geometry.w;
@@ -990,7 +991,8 @@
                  int dobreak_h = 0;
                  
                  iy = idy;
-                 if (o->cur.fill.h == obj->cur.geometry.h)
+                 if ((o->cur.fill.h == obj->cur.geometry.h) &&
+                     (o->cur.fill.y == 0.0))
                    {
                       ih = obj->cur.cache.geometry.h;
                       dobreak_h = 1;




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to