Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : proto
Dir : e17/proto/esmart/src/trans
Modified Files:
esmart_trans.c
Log Message:
Not sure if this would become a real issue as the x and y values generally
are zero, but here's a fix for "correctness".
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/trans/esmart_trans.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- esmart_trans.c 22 Feb 2004 06:37:45 -0000 1.9
+++ esmart_trans.c 10 Mar 2004 17:39:23 -0000 1.10
@@ -105,7 +105,7 @@
imlib_context_set_drawable(*((Ecore_X_Pixmap *) data));
/* Check if the trans object will fit within the pixmap's boundaries */
- if ((x >= px) && (y >= py) && ((x + w) <= (py + ((signed int) pw)))
+ if ((x >= px) && (y >= py) && ((x + w) <= (px + ((signed int) pw)))
&& ((y + h) <= (py + ((signed int) ph))))
{
im = imlib_create_image_from_drawable(0, x, y, w, h, 1);
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs