aboutsummaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
Diffstat (limited to 'range.c')
-rw-r--r--range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.c b/range.c
index 9960914..54272e6 100644
--- a/range.c
+++ b/range.c
@@ -1476,7 +1476,7 @@ static bool find_errors(const game_state *state, bool *report)
/*
* Check that all the white cells form a single connected component.
*/
- dsf = snew_dsf(n);
+ dsf = dsf_new(n);
for (r = 0; r < h-1; ++r)
for (c = 0; c < w; ++c)
if (state->grid[r*w+c] != BLACK &&