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


SVN revision: 16758
This commit is contained in:
Carsten Haitzler 2005-09-19 03:13:23 +00:00
parent ddf8e48b35
commit ab19b67038
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ _edje_part_description_find(Edje *ed, Edje_Real_Part *rp, char *name,
{
Edje_Part_Description *d = l->data;
if (!strcmp (d->state.name, name))
if (!strcmp(d->state.name, name))
{
double dst;

View File

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