X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=parser.c;h=38ae6b7701f84f8cf386a64b007319e3a99489e4;hb=c75d2d23ecb6a2123ccf681852e9bef8c381ce22;hp=09bb390b54548591b8626fef39ac15f85b54f538;hpb=e9959df8ffa2a11c47c4d385e797d2c27c0550a9;p=xboard.git diff --git a/parser.c b/parser.c index 09bb390..38ae6b7 100644 --- a/parser.c +++ b/parser.c @@ -144,7 +144,7 @@ int NextUnit(char **p) { // Main parser routine int coord[4], n, result, piece, i; char type[4], promoted, separator, slash, *oldp, *commentEnd, c; - int wom = WhiteOnMove(yyboardindex); + int wom = quickFlag ? quickFlag&1 : WhiteOnMove(yyboardindex); // ********* try white first, because it is so common ************************** if(**p == ' ' || **p == '\n' || **p == '\t') { parseStart = (*p)++; return Nothing; }