X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Frd-bomb.c;h=65295710ba6d5624f5c791b2c58888b3584a8f54;hp=f3d04c21afe5ecda853a30cbf179b615e4d77e5c;hb=c6b273ef7292ba10943694df1656b05203d7b62f;hpb=df053bcb240bd8d82e3bebf48a9766a8728bca4b diff --git a/hacks/rd-bomb.c b/hacks/rd-bomb.c index f3d04c21..65295710 100644 --- a/hacks/rd-bomb.c +++ b/hacks/rd-bomb.c @@ -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; }