summaryrefslogtreecommitdiff
path: root/x11/gnome-applets/files/patch-af
blob: 7cfd670a862e34d18416cba865338d70ada52212 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;