Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common
Modified Files:
evas_gradient_angular.c
Log Message:
Can someone who knows this code fix this?
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_gradient_angular.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- evas_gradient_angular.c 7 Jun 2006 23:30:14 -0000 1.5
+++ evas_gradient_angular.c 6 Aug 2006 01:27:22 -0000 1.6
@@ -1182,12 +1182,14 @@
DATA32 a = 1 + ((ll - (l << 16)) >> 8), a0 = a;
lp = l + off;
+ /* FIXME: Statement with no effect */
if (lp < 0) { lp = -lp; 257 - a; }
if (lp >= map_len)
{
int m = (lp % (2 * map_len));
lp = (lp % map_len);
+ /* FIXME: Statement with no effect */
if (m >= map_len)
{ lp = map_len - lp - 1; 257 - a; }
}
@@ -1288,12 +1290,14 @@
DATA32 a = 1 + ((ll - (l << 16)) >> 8), a0 = a - 1;
lp = l + off;
+ /* FIXME: Statement with no effect */
if (lp < 0) { lp = -lp; 257 - a; }
if (lp >= map_len)
{
int m = (lp % (2 * map_len));
lp = (lp % map_len);
+ /* FIXME: Statement with no effect */
if (m >= map_len)
{ lp = map_len - lp - 1; 257 - a; }
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs