aboutsummaryrefslogtreecommitdiff
path: root/loopgen.h
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2023-01-10 00:20:36 +0000
committerBen Harris <bjh21@bjh21.me.uk>2023-01-15 16:24:27 +0000
commit5cc9bfb811854b66c4a570e8100b8a1aad037f0e (patch)
treeb2e7c6bc863ed406c793c799a856b2bf3d7351ff /loopgen.h
parented75535fc24217c51f900d42385309c8c8b36cc3 (diff)
downloadpuzzles-5cc9bfb811854b66c4a570e8100b8a1aad037f0e.zip
puzzles-5cc9bfb811854b66c4a570e8100b8a1aad037f0e.tar.gz
puzzles-5cc9bfb811854b66c4a570e8100b8a1aad037f0e.tar.bz2
puzzles-5cc9bfb811854b66c4a570e8100b8a1aad037f0e.tar.xz
Last-ditch maximum size limit for Mines
This makes sure that width * height <= INT_MAX, which it rather needs to be. Also a similar check in decode_params when defaulting the number of mines.
Diffstat (limited to 'loopgen.h')
0 files changed, 0 insertions, 0 deletions