X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=uci.c;h=716c8cb5574ac2fb01b8713d90c4bb61743b93da;hb=3cb3b145bf05113cda5040c341b3be181bad5156;hp=eafefe40dc9edc30a0090f73efd9b64eb5ff63ad;hpb=3f90456c06a84717105e68bb84094e742004346a;p=polyglot.git diff --git a/uci.c b/uci.c index eafefe4..716c8cb 100644 --- a/uci.c +++ b/uci.c @@ -899,6 +899,8 @@ static void parse_score(uci_t * uci, const char string[]) { parse_add_keyword(parse,"mate"); parse_add_keyword(parse,"upperbound"); + uci->bound_type = '\0'; // [HGM] bound: assume exact score + // loop while (parse_get_word(parse,option,StringSize)) { @@ -921,6 +923,8 @@ static void parse_score(uci_t * uci, const char string[]) { ASSERT(my_string_empty(argument)); + uci->bound_type = '!'; + } else if (my_string_equal(option,"mate")) { ASSERT(!my_string_empty(argument)); @@ -934,6 +938,8 @@ static void parse_score(uci_t * uci, const char string[]) { ASSERT(my_string_empty(argument)); + uci->bound_type = '?'; + } else { my_log("POLYGLOT unknown option \"%s\" for command \"%s\"\n",option,command);