diff options
author | Manish Singh <yosh@gimp.org> | 2002-02-17 00:06:00 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2002-02-17 00:06:00 +0000 |
commit | 665723279cfce6434dbf5808a604088a0c2801fc (patch) | |
tree | 0b7b677ae10e630a9d3c9210c3130763daaa460f /gdk/linux-fb | |
parent | b3d5f148e6c0e2cb688403655c7800b762e33602 (diff) | |
download | gdk-pixbuf-665723279cfce6434dbf5808a604088a0c2801fc.tar.gz |
use fabs() on a double instead of abs()
2002-02-16 Manish Singh <yosh@gimp.org>
* gdk/linux-fb/miarc.c: use fabs() on a double instead of abs()
Diffstat (limited to 'gdk/linux-fb')
-rw-r--r-- | gdk/linux-fb/miarc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/linux-fb/miarc.c b/gdk/linux-fb/miarc.c index fecf5bb70..9d263afc5 100644 --- a/gdk/linux-fb/miarc.c +++ b/gdk/linux-fb/miarc.c @@ -1612,7 +1612,7 @@ miGetArcPts(SppArcPtr parc, int cpt, SppPointPtr *ppPts) x1 = x2; y1 = y2; } /* adjust the last point */ - if (abs(parc->angle2) >= 360.0) + if (fabs(parc->angle2) >= 360.0) poly[cpt +i -1] = poly[0]; else { poly[cpt +i -1].x = (miDcos(st + et) * parc->width/2.0 + xc); |