From 4e34291be4043e4237130e6a73a5578aca7b6814 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 28 May 2010 11:02:54 +0200 Subject: [PATCH] Repair animate dragging The previous patch had left a stray semicolon in the mouse handler. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); } -- 1.7.0.4