projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver]
/
hacks
/
squiral.c
diff --git
a/hacks/squiral.c
b/hacks/squiral.c
index 57afa54a5d78835eee0441ec68f0e6775341b4c9..48cd5f8c9049e11b5560973d0e0820a89bff58e1 100644
(file)
--- a/
hacks/squiral.c
+++ b/
hacks/squiral.c
@@
-14,7
+14,7
@@
#include "erase.h"
#include "yarandom.h"
#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
#define PROB(x) (frand(1.0) < (x))
#define NCOLORSMAX 255
@@
-268,7
+268,7
@@
static const char *squiral_defaults[] = {
"*disorder: 0.005",
"*cycle: False",
"*handedness: 0.5",
"*disorder: 0.005",
"*cycle: False",
"*handedness: 0.5",
-#ifdef
USE_IPHON
E
+#ifdef
HAVE_MOBIL
E
"*ignoreRotation: True",
#endif
0
"*ignoreRotation: True",
#endif
0