]> git.sesse.net Git - stockfish/commit
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)
commitf57d51b7f3b5d97b7322aa7e4bd9025726a518e3
treeac022037911aed51bcc8442a79affbdc80c427c6
parent358ccf206ba142a68c7b5b3622a79cc309107f6d
Store "true" and "false" in bool options

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>
src/ucioption.cpp
src/ucioption.h