From: H.G. Muller Date: Fri, 5 Oct 2012 16:42:51 +0000 (+0200) Subject: Fix clearing of markers dots with promo popup X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=40eab476400a6232e304c760c8d8559fbe697c46;p=xboard.git Fix clearing of markers dots with promo popup --- diff --git a/backend.c b/backend.c index 4522ca1..7e8ed59 100644 --- a/backend.c +++ b/backend.c @@ -7316,6 +7316,7 @@ LeftClick (ClickType clickType, int xPix, int yPix) if (HasPromotionChoice(fromX, fromY, toX, toY, &promoChoice, appData.sweepSelect)) { SetHighlights(fromX, fromY, toX, toY); + MarkTargetSquares(1); if(gameInfo.variant == VariantSuper || gameInfo.variant == VariantGreat || gameInfo.variant == VariantGrand) { // [HGM] super: promotion to captured piece selected from holdings ChessSquare p = boards[currentMove][fromY][fromX], q = boards[currentMove][toY][toX];