projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.x.org/contrib/applications/xscreensaver-2.23.tar.gz
[xscreensaver]
/
hacks
/
xlyap.c
diff --git
a/hacks/xlyap.c
b/hacks/xlyap.c
index 26dae592c499d87217cdfe71559c2c54d9e72c09..908d8d82374207bac9991675d9691cae807e6706 100644
(file)
--- a/
hacks/xlyap.c
+++ b/
hacks/xlyap.c
@@
-47,7
+47,8
@@
char *progclass = "XLyap";
char *defaults [] = {
char *progclass = "XLyap";
char *defaults [] = {
- "XLyap.background: black", /* to placate SGI */
+ ".background: black",
+ ".foreground: white",
"*randomize: false",
"*builtin: -1",
"*minColor: 1",
"*randomize: false",
"*builtin: -1",
"*minColor: 1",
@@
-785,7
+786,6
@@
init_data(void)
if (show)
show_defaults();
InitBuffer();
if (show)
show_defaults();
InitBuffer();
- ya_rand_init(0);
}
static void
}
static void
@@
-1969,5
+1969,5
@@
setforcing(void)
{
static int i;
for (i=0;i<MAXINDEX;i++)
{
static int i;
for (i=0;i<MAXINDEX;i++)
- forcing[i] = (
ya_
random() > prob) ? 0 : 1;
+ forcing[i] = (random() > prob) ? 0 : 1;
}
}