Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_spectrum.c 


Log Message:
Remove MIN and MAX macros as these are defined in Ecore_Data.h

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_spectrum.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_spectrum.c      14 Jun 2005 20:59:43 -0000      1.4
+++ ewl_spectrum.c      14 Jun 2005 21:23:07 -0000      1.5
@@ -325,10 +325,6 @@
 {
         int min, max, delta;
 
-#undef MIN
-#undef MAX
-#define MIN(a,b) (((a) < (b)) ? (a) : (b))
-#define MAX(a,b) (((a) > (b)) ? (a) : (b))
         min = MIN(r,MIN(g,b));
         max = MAX(r,MAX(g,b));
         *v = (float)max / 255.0;                               // v




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to