X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=241bf96784929b0b5f2e304c190e0b6b347d8344;hb=b20313e027d4af1a5567a76803da47d7fa9100ee;hp=a67ca7ceab7d3c57dcef59e338288d7acafa49b6;hpb=2b10b920d6b538dc57a08e3f709bcbf3f8cad235;p=xboard.git diff --git a/backend.c b/backend.c index a67ca7c..241bf96 100644 --- a/backend.c +++ b/backend.c @@ -7399,11 +7399,10 @@ MarkByFEN(char *fen) { int r, f; if(!appData.markers || !appData.highlightDragging) return; - for(r=0; r= 'A' && *fen <= 'Z') legal[r][f] = 3; else @@ -19109,7 +19108,7 @@ LoadTheme () if(appData.trueColors != 2) // 2 is a kludge to suppress this in WinBoard snprintf(buf+strlen(buf), MSG_SIZ-strlen(buf), " -trueColors %s", appData.trueColors ? "true" : "false"); } - if(!appData.pieceDirectory[0] && !appData.trueColors) + if(!appData.pieceDirectory[0] || !appData.trueColors) snprintf(buf+strlen(buf), MSG_SIZ-strlen(buf), " -wpc %s -bpc %s", Col2Text(0), // whitePieceColor Col2Text(1) ); // blackPieceColor