From: H.G. Muller Date: Fri, 28 May 2010 09:02:54 +0000 (+0200) Subject: Repair animate dragging X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=4e34291be4043e4237130e6a73a5578aca7b6814;p=xboard.git Repair animate dragging The previous patch had left a stray semicolon in the mouse handler. --- diff --git a/backend.c b/backend.c index 84f64e5..b6a8edf 100644 --- a/backend.c +++ b/backend.c @@ -6331,7 +6331,7 @@ void LeftClick(ClickType clickType, int xPix, int yPix) SetHighlights(x, y, -1, -1); } } - } else if(dragging); { // [HGM] from-square must have been reset due to game end since last press + } else if(dragging) { // [HGM] from-square must have been reset due to game end since last press DragPieceEnd(xPix, yPix); dragging = 0; DrawPosition(FALSE, NULL); }