X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fboxed.c;h=cdf04a52a80744b01c39315fd7fab1c80c5ea83a;hp=0575aefa1b00550a59c56fcc419b9aa593c291d8;hb=4cecfc89e5e889c7232693897c06168fb378bd5c;hpb=c28aecf9fc41e3a03494bacf7279745425e2fa18 diff --git a/hacks/glx/boxed.c b/hacks/glx/boxed.c index 0575aefa..cdf04a52 100644 --- a/hacks/glx/boxed.c +++ b/hacks/glx/boxed.c @@ -55,7 +55,7 @@ static const char sccsid[] = "@(#)boxed.c 0.9 01/09/26 xlockmore"; #undef countof #define countof(x) (int)(sizeof((x))/sizeof((*x))) #undef rnd -#define rnd() ( ((float)random()) / ((float)RAND_MAX * 2.0) ) +#define rnd() (frand(1.0)) /* #define DEF_PLANETARY "False"