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.21.tar.gz
[xscreensaver]
/
hacks
/
rd-bomb.c
diff --git
a/hacks/rd-bomb.c
b/hacks/rd-bomb.c
index f3d04c21afe5ecda853a30cbf179b615e4d77e5c..65295710ba6d5624f5c791b2c58888b3584a8f54 100644
(file)
--- a/
hacks/rd-bomb.c
+++ b/
hacks/rd-bomb.c
@@
-282,8
+282,8
@@
char *progclass = "RD";
char *defaults [] = {
char *defaults [] = {
- "
RD.background: black", /* to placate SGI */
- "
RD.foreground:
white",
+ "
*background: black",
+ "
*foreground:
white",
"*width: 0", /* tried to use -1 but it complained */
"*height: 0",
"*epoch: 40000",
"*width: 0", /* tried to use -1 but it complained */
"*height: 0",
"*epoch: 40000",
@@
-441,7
+441,7
@@
screenhack (Display *dpy, Window win)
int i, di;
mc = (unsigned char *) malloc(1<<16);
for (i = 0; i < (1<<16); i++) {
int i, di;
mc = (unsigned char *) malloc(1<<16);
for (i = 0; i < (1<<16); i++) {
- di = (i + (
ya_
random()&255))>>8;
+ di = (i + (random()&255))>>8;
if (di > 255) di = 255;
mc[i] = di;
}
if (di > 255) di = 255;
mc[i] = di;
}