X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fflame.c;h=7b590563f20c4eb249a2630ced15fd2a2f322612;hb=78add6e627ee5f10e1fa6f3852602ea5066eee5a;hp=a641367f8c1ccb254cdf0868d083578c0407056a;hpb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;p=xscreensaver diff --git a/hacks/flame.c b/hacks/flame.c index a641367f..7b590563 100644 --- a/hacks/flame.c +++ b/hacks/flame.c @@ -204,7 +204,7 @@ recurse (struct state *st, double x, double y, int l, Display *dpy, Window win) "I think this happens on HPUX. I think it's non-IEEE to generate an exception instead of a silent NaN." */ - if ((abs(x) > 1.0E5) || (abs(y) > 1.0E5)) + if ((fabs(x) > 1.0E5) || (fabs(y) > 1.0E5)) x = x / y; nx = st->f[0][0][i] * x + st->f[0][1][i] * y + st->f[0][2][i]; @@ -419,7 +419,7 @@ static const char *flame_defaults [] = { "*delay: 50000", "*delay2: 2000000", "*points: 10000", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", #endif 0