X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=48a625a85f03dc988d334ea0abeddd1a7adebefc;hb=cd63bf5b43dae0ac9d9ae1efaba0e23270f65760;hp=2ccc54d3ef62d7d1ced0222578a5219d7f8a6f10;hpb=6797bd9f6f43a4121ee3385a8571158c294a57d6;p=xboard.git diff --git a/backend.c b/backend.c index 2ccc54d..48a625a 100644 --- a/backend.c +++ b/backend.c @@ -7095,6 +7095,7 @@ UserMoveEvent(int fromX, int fromY, int toX, int toY, int promoChar) } } else boards[0][fromY][fromX] = gatingPiece; + ClearHighlights(); DrawPosition(FALSE, boards[currentMove]); return; }