aboutsummaryrefslogtreecommitdiff
path: root/pearl.c
diff options
context:
space:
mode:
Diffstat (limited to 'pearl.c')
-rw-r--r--pearl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pearl.c b/pearl.c
index ea80ac0..13e90aa 100644
--- a/pearl.c
+++ b/pearl.c
@@ -350,7 +350,7 @@ static int pearl_solve(int w, int h, char *clues, char *result,
* We maintain a dsf of connected squares, together with a
* count of the size of each equivalence class.
*/
- dsf = snew_dsf(w*h);
+ dsf = dsf_new(w*h);
dsfsize = snewn(w*h, int);
/*
@@ -1577,7 +1577,7 @@ static bool check_completion(game_state *state, bool mark)
* same reasons, since Loopy and Pearl have basically the same
* form of expected solution.
*/
- dsf = snew_dsf(w*h);
+ dsf = dsf_new(w*h);
/* Build the dsf. */
for (x = 0; x < w; x++) {