X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=241bf96784929b0b5f2e304c190e0b6b347d8344;hb=95b8c00f4614ca7c7a1fa6b2e176d7d750c79ceb;hp=a67ca7ceab7d3c57dcef59e338288d7acafa49b6;hpb=b570994c0ee650a76b7957dca04263e719092a59;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