diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-10-22 16:27:54 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-10-22 16:27:54 +0000 |
| commit | 23ab000b7b038b6810e48a71a94b8287c20a6047 (patch) | |
| tree | 1e8bcd5adc7c7d3b8179a954bc0e7c1c50cec7af /map.c | |
| parent | 4faecc77264b6d3e84ae24707af5593490f36796 (diff) | |
| download | puzzles-23ab000b7b038b6810e48a71a94b8287c20a6047.zip puzzles-23ab000b7b038b6810e48a71a94b8287c20a6047.tar.gz puzzles-23ab000b7b038b6810e48a71a94b8287c20a6047.tar.bz2 puzzles-23ab000b7b038b6810e48a71a94b8287c20a6047.tar.xz | |
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]
Diffstat (limited to 'map.c')
| -rw-r--r-- | map.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |