Use Ctrl key in AnalyzeMode to exclude entered move
authorH.G. Muller <h.g.muller@hccnet.nl>
Sat, 22 Dec 2012 21:44:50 +0000 (22:44 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 22 Dec 2012 21:57:30 +0000 (22:57 +0100)
backend.c

index 92c741c..b1bbf1a 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -7130,7 +7130,7 @@ LeftClick (ClickType clickType, int xPix, int yPix)
        return;
       }
       doubleClick = FALSE;
-      if(gameMode == AnalyzeMode && pausing && first.excludeMoves) { // use pause state to exclude moves
+      if(gameMode == AnalyzeMode && (pausing || controlKey) && first.excludeMoves) { // use pause state to exclude moves
        doubleClick = TRUE; gatingPiece = boards[currentMove][y][x];
       }
       fromX = x; fromY = y; toX = toY = -1;