X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=726574c2e86fa461711871b0db73ee51fae99ecb;hb=0d5d98e82dac22b0873aaf9fea8a1b13e1f9f349;hp=c8c7fc2dc7a0a26ffdf98deaee9f72933b636196;hpb=25b9dd471b02847a646237ad5888f0f1186917ad;p=xboard.git diff --git a/dialogs.c b/dialogs.c index c8c7fc2..726574c 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1911,6 +1911,7 @@ Exp (int n, int x, int y) if(but3) MovePV(x, y, lineGap + BOARD_HEIGHT * (squareSize + lineGap)); return NULL; } + if(n != 10 && PopDown(PromoDlg)) fromX = fromY = -1; // user starts fiddling with board when promotion dialog is up shiftKey = ShiftKeys(); controlKey = (shiftKey & 0xC) != 0; shiftKey = (shiftKey & 3) != 0;