From 23ab000b7b038b6810e48a71a94b8287c20a6047 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 22 Oct 2005 16:27:54 +0000 Subject: Cleanup: rename random_init() to random_new(), because it actually _allocates_ a random_state rather than just initialising one passed in by the caller. [originally from svn r6412] --- map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'map.c') diff --git a/map.c b/map.c index 6302ef7..3b01d9b 100644 --- a/map.c +++ b/map.c @@ -1868,7 +1868,7 @@ static game_state *new_game(midend *me, game_params *params, char *desc) * outlines by the judicious use of diagonally divided squares. */ { - random_state *rs = random_init(desc, strlen(desc)); + random_state *rs = random_new(desc, strlen(desc)); int *squares = snewn(wh, int); int done_something; -- cgit v1.1