Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
5.9.1 correct misleading indentation
  • Loading branch information
Oliver Brausch committed Nov 13, 2020
1 parent 614c3e2 commit 4178bea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Readme.txt
Expand Up @@ -9,7 +9,7 @@ EndgameTables: No
AnalyzeMode: Basic
SearchMethods: Nullmove, Internal Iterative Reduction, Check Extension, LMR
Evaluation: Just mobility and a very simple pawnprogressing evaluation
LinesOfCode: 1541
LinesOfCode: 1544
Stability: 100%
Special thanks to Dann Corbit for his support and contribution.

Expand Down
6 changes: 4 additions & 2 deletions src/olithink.c
Expand Up @@ -1470,8 +1470,10 @@ int protV2(char* buf, int parse) {
else if (strchr(buf, '/') != NULL && strlen(buf)>16) {
engine = -1; analyze = pondering = 1; if (parse) _parse_fen(buf, 1); else return -9; }
else if (buf[0] == 0 || buf[0] == '\n');
else { int i; for (i = 0; i < 15 ; i++)
if (!strncmp(buf, comreturn[i], strlen(comreturn[i]))) return i < 8 ? 0 : 6-i; return -1; }
else {
int i; for (i = 0; i < 15 ; i++) if (!strncmp(buf, comreturn[i], strlen(comreturn[i]))) return i < 8 ? 0 : 6-i;
return -1;
}
return 0;
}

Expand Down

0 comments on commit 4178bea

Please sign in to comment.