X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fsquiral.c;h=a38e0603dd28fa85bc366b47916c0edfdb8652b6;hb=39809ded547bdbb08207d3e514950425215b4410;hp=57afa54a5d78835eee0441ec68f0e6775341b4c9;hpb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;p=xscreensaver diff --git a/hacks/squiral.c b/hacks/squiral.c index 57afa54a..a38e0603 100644 --- a/hacks/squiral.c +++ b/hacks/squiral.c @@ -14,7 +14,7 @@ #include "erase.h" #include "yarandom.h" -#define R(x) (abs(random())%x) +#define R(x) (random()%x) #define PROB(x) (frand(1.0) < (x)) #define NCOLORSMAX 255 @@ -258,6 +258,7 @@ squiral_free (Display *dpy, Window window, void *closure) static const char *squiral_defaults[] = { + ".lowrez: true", ".background: black", ".foreground: white", "*fpsSolid: true", @@ -268,7 +269,7 @@ static const char *squiral_defaults[] = { "*disorder: 0.005", "*cycle: False", "*handedness: 0.5", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", #endif 0