forked from enlightenment/efl
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:
parent
ddf8e48b35
commit
ab19b67038
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue