aboutsummaryrefslogtreecommitdiff
path: root/tents.c
diff options
context:
space:
mode:
Diffstat (limited to 'tents.c')
-rw-r--r--tents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tents.c b/tents.c
index 191484b..194055b 100644
--- a/tents.c
+++ b/tents.c
@@ -2224,7 +2224,7 @@ static int *find_errors(const game_state *state, char *grid)
* all the tents in any component which has a smaller tree
* count.
*/
- dsf = snew_dsf(w*h);
+ dsf = dsf_new(w*h);
/* Construct the equivalence classes. */
for (y = 0; y < h; y++) {
for (x = 0; x < w-1; x++) {