aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome-applets/files/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnome-applets/files/patch-af')
-rw-r--r--x11/gnome-applets/files/patch-af20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/gnome-applets/files/patch-af b/x11/gnome-applets/files/patch-af
new file mode 100644
index 000000000000..7cfd670a862e
--- /dev/null
+++ b/x11/gnome-applets/files/patch-af
@@ -0,0 +1,20 @@
+--- fifteen/fifteen.c.orig Thu May 4 07:23:57 2000
++++ fifteen/fifteen.c Wed Aug 2 09:18:24 2000
+@@ -225,7 +225,7 @@
+ int dir;
+ int x, y;
+
+- srand (time (NULL));
++ srandom (time (NULL));
+
+ canvas = gtk_object_get_user_data (data);
+ board = gtk_object_get_user_data (GTK_OBJECT (canvas));
+@@ -241,7 +241,7 @@
+ for (i = 0; i < SCRAMBLE_MOVES; i++) {
+ /* retry_scramble: */
+ /* Yuck ;) --Tom. */
+- dir = rand () % 4;
++ dir = random () % 4;
+
+ x = y = 0;
+