diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-04 16:50:55 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-02-05 20:58:21 +0000 |
| commit | ae73ad76ef95f0e40868436cb750126322051dd0 (patch) | |
| tree | 1d751f6181470be12b36e03b4d68251e58568006 /html/pattern.html | |
| parent | 84ec2a0a77d63450311f7c25b36d4b9f7e3c53e1 (diff) | |
| download | puzzles-ae73ad76ef95f0e40868436cb750126322051dd0.zip puzzles-ae73ad76ef95f0e40868436cb750126322051dd0.tar.gz puzzles-ae73ad76ef95f0e40868436cb750126322051dd0.tar.bz2 puzzles-ae73ad76ef95f0e40868436cb750126322051dd0.tar.xz | |
Range: Don't fail an assertion on an all-black board
If there are no white squares, then Range's check that all the white
squares form a connected component goes wrong. Skip the check in that
case to avoid an assretion violation ("edsf_canonify: Assertion `index
>= 0' failed."). This can be demonstrated by starting a game with no
clues (e.g. "range 3:i") and then filling in every square.
Diffstat (limited to 'html/pattern.html')
0 files changed, 0 insertions, 0 deletions