chiark / gitweb /
Mines: add validation for negative mine count.
authorSimon Tatham <anakin@pobox.com>
Tue, 17 Mar 2020 18:12:33 +0000 (18:12 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 17 Mar 2020 18:12:33 +0000 (18:12 +0000)
commitd71ac73d8a4397c35b21ec08388a1c6f94691b64
tree28de7fbe3af79aa4500cad0cb862361c6d822e39
parentd022a1c11c185027fad937cbe9cd2c318025ee04
Mines: add validation for negative mine count.

If this gets through validation, it causes an infinite loop after
gameplay begins.
mines.c