Fix disappearence of pieces that were moved illegally
[xboard.git] / dialogs.c
index 6db2b3c..899bf71 100644 (file)
--- a/dialogs.c
+++ b/dialogs.c
@@ -1874,7 +1874,7 @@ DisplayMoveError (String message)
 {
     fromX = fromY = -1;
     ClearHighlights();
-    DrawPosition(FALSE, NULL);
+    DrawPosition(TRUE, NULL); // selective redraw would miss the from-square of the rejected move, displayed empty after drag, but not marked damaged!
     if (appData.debugMode || appData.matchMode) {
        fprintf(stderr, "%s: %s\n", programName, message);
     }