]> git.sesse.net Git - stockfish/commitdiff
Store "true" and "false" in bool options
authorMarco Costalba <mcostalba@gmail.com>
Sat, 20 Nov 2010 13:23:28 +0000 (14:23 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 20 Nov 2010 17:06:38 +0000 (18:06 +0100)
UCI protocol uses "true" and "false" for check and button types,
so store that values instead of "1" and "0", this simplifies a
bit the code.

Also a bit strictier option's type checking in debug mode.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found