X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=d14530f7734ad0a6ef9d6d8f3514ee18cefe9e7f;hb=3681f490b0a9cdaadd754972147b5140cf2c269b;hp=999fcfdab6d3935f4772798127c64725221acce5;hpb=c4df31e43879285ac16fc47f429d2ccd2aa0019f;p=xboard.git diff --git a/backend.c b/backend.c index 999fcfd..d14530f 100644 --- a/backend.c +++ b/backend.c @@ -5335,12 +5335,12 @@ LoadMultiPV(int x, int y, char *buf, int index, int *start, int *end) buf[index] = 0; if(lineStart == 0 && gameMode == AnalyzeMode && (multi = MultiPV(&first)) >= 0) { int n = first.option[multi].value; - if(origIndex < 10) { if(n>1) n--; } else if(origIndex > index - 6) n++; + if(origIndex > 17 && origIndex < 24) { if(n>1) n--; } else if(origIndex > index - 6) n++; snprintf(buf2, MSG_SIZ, "option MultiPV=%d\n", n); if(first.option[multi].value != n) SendToProgram(buf2, &first); first.option[multi].value = n; *start = *end = 0; - return TRUE; + return FALSE; } ParsePV(buf+startPV, FALSE, gameMode != AnalyzeMode); *start = startPV; *end = index-1;