X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fcritical.c;h=3f8f2763ab85dc812ca6fc16dd49fcc068fcd8e8;hp=17abf8f4c398b9b6e95e7b3003bec4a0a77ed120;hb=0ed85ca0e4b0eae40a4f50a51d63f2f41e45373a;hpb=72c1f4c1dc6ab07fe121a327ff1c30bf51ef74c1 diff --git a/hacks/critical.c b/hacks/critical.c index 17abf8f4..3f8f2763 100644 --- a/hacks/critical.c +++ b/hacks/critical.c @@ -267,8 +267,8 @@ screenhack (Display *dpy, Window window) fgc = XCreateGC (dpy, window, 0, &gcv); - x2 = rand() % model_w; - y2 = rand() % model_h; + x2 = random() % model_w; + y2 = random() % model_h; delay_usecs = get_integer_resource ("delay", "Integer"); n_restart = get_integer_resource ("restart", "Integer");