Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_calc.c edje_private.h 


Log Message:


blame: TILMAN:

1.73         (tsauerbe 29-Oct-04): #ifndef ABS
1.74         (tsauerbe 29-Oct-04): #define ABS(x) (x < 0 ? -x : x)

no ()'x around x - thus the part finder couldnt calculate distance of valued
parts properly! :) now it finds the right numbered part :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_calc.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -3 -r1.68 -r1.69
--- edje_calc.c 18 Sep 2005 06:01:35 -0000      1.68
+++ edje_calc.c 19 Sep 2005 03:13:22 -0000      1.69
@@ -71,7 +71,7 @@
      {
        Edje_Part_Description *d = l->data;
 
-       if (!strcmp (d->state.name, name))
+       if (!strcmp(d->state.name, name))
          {
             double dst;
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_private.h,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -3 -r1.89 -r1.90
--- edje_private.h      12 Sep 2005 09:43:49 -0000      1.89
+++ edje_private.h      19 Sep 2005 03:13:23 -0000      1.90
@@ -32,7 +32,7 @@
 #include <limits.h>
 
 #ifndef ABS
-#define ABS(x) (x < 0 ? -x : x)
+#define ABS(x) ((x) < 0 ? -(x) : (x))
 #endif
 
 #ifndef CLAMP




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to