Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src/lib


Modified Files:
        line.c 


Log Message:


line patch for imlib2 from john williams.

===================================================================
RCS file: /cvs/e/e17/libs/imlib2/src/lib/line.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- line.c      1 Nov 2004 09:45:31 -0000       1.1
+++ line.c      8 Dec 2006 12:56:44 -0000       1.2
@@ -404,7 +404,7 @@
    y1 -= cly;
 
    /* shallow: x-parametric */
-   if ((dy < dx) || (dy < -dx))
+   if (abs(dy) < abs(dx))
      {
        SETUP_LINE_SHALLOW
 
@@ -513,7 +513,7 @@
    y1 -= cly;
 
    /* shallow: x-parametric */
-   if ((dy < dx) || (dy < -dx))
+   if (abs(dy) < abs(dx))
      {
        SETUP_LINE_SHALLOW
 



-------------------------------------------------------------------------
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