aboutsummaryrefslogtreecommitdiff
path: root/nullfe.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-10-16 19:14:24 +0100
committerBen Harris <bjh21@bjh21.me.uk>2022-10-16 19:15:40 +0100
commit1bab1d1d2ab472bb8fc7cddfce1d3c37e63a2ed5 (patch)
tree161c0679f2b9ebb3082978eeca0401e058dcf708 /nullfe.c
parent02e5e93046d1ee2ce7acde629a6562db9b36fa5d (diff)
downloadpuzzles-1bab1d1d2ab472bb8fc7cddfce1d3c37e63a2ed5.zip
puzzles-1bab1d1d2ab472bb8fc7cddfce1d3c37e63a2ed5.tar.gz
puzzles-1bab1d1d2ab472bb8fc7cddfce1d3c37e63a2ed5.tar.bz2
puzzles-1bab1d1d2ab472bb8fc7cddfce1d3c37e63a2ed5.tar.xz
Correct and enable the range check on statepos when loading
statepos == 0 shouldn't ever occur in a save file because it indicates an uninitialised midend. OTOH statepos == nstates is normal. Also added an equivalent assertion when saving because Simon and I spent some time discussing whether it could happen.
Diffstat (limited to 'nullfe.c')
0 files changed, 0 insertions, 0 deletions