Fix sweep-promotions patch
[xboard.git] / backend.c
index 1165932..9f9f63e 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -6541,7 +6541,7 @@ void LeftClick(ClickType clickType, int xPix, int yPix)
                if (appData.highlightDragging) {
                    SetHighlights(fromX, fromY, -1, -1);
                }
-           }
+           } else fromX = fromY = -1;
            return;
        }
     }