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-3.21.tar.gz
[xscreensaver]
/
hacks
/
xsublim.c
diff --git
a/hacks/xsublim.c
b/hacks/xsublim.c
index b4cd5ba212d42f2c984656e8e45fbda792b42d1c..9f93758a14ca6acba21aa1cea45ab325d3f7af1f 100644
(file)
--- a/
hacks/xsublim.c
+++ b/
hacks/xsublim.c
@@
-458,8
+458,10
@@
int main(int argc,char* argv[])
signal(sig_Number,xsublim_Sig_Catch);
}
signal(sig_Number,xsublim_Sig_Catch);
}
- /* Randomize */
- srandom((int)time((time_t*)0));
+ /* Randomize -- only need to do this here because this program
+ doesn't use the `screenhack.h' or `lockmore.h' APIs. */
+# undef ya_rand_init
+ ya_rand_init ((int) time ((time_t *) 0));
/* Handle all the X nonsense */
#if defined(__sgi)
/* Handle all the X nonsense */
#if defined(__sgi)