http://ftp.x.org/contrib/applications/xscreensaver-2.23.tar.gz
[xscreensaver] / hacks / rd-bomb.c
index f3d04c21afe5ecda853a30cbf179b615e4d77e5c..867ecf03a2f17680bc40dc521294a6447ff7d909 100644 (file)
@@ -282,8 +282,8 @@ char *progclass = "RD";
 
 
 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",
@@ -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++) {
-      di = (i + (ya_random()&255))>>8;
+      di = (i + (random()&255))>>8;
       if (di > 255) di = 255;
       mc[i] = di;
     }