mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Consistently use snew_dsf to allocate dsfs.
All remaining cases where a dsf was allocated via snewn(foo, int) are removed by this change.
This commit is contained in:
@ -3959,7 +3959,7 @@ static void game_print(drawing *dr, const game_state *state, int sz)
|
||||
/*
|
||||
* Get the completion information.
|
||||
*/
|
||||
dsf = snewn(w * h, int);
|
||||
dsf = snew_dsf(w * h);
|
||||
colours = snewn(w * h, int);
|
||||
check_complete(state, dsf, colours);
|
||||
|
||||
|
Reference in New Issue
Block a user