X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=80e622e4ebaa48665943f4fb4616b3dedb9aad9f;hb=1f84be6944ee48b72a33cf064661fa1a2129b885;hp=d9f382a018ca83b9ee7a2028b8054eac760dee34;hpb=a9a9de13751f0b8a188d7d11957821e58c7aa03d;p=xboard.git diff --git a/xboard.c b/xboard.c index d9f382a..80e622e 100644 --- a/xboard.c +++ b/xboard.c @@ -1079,8 +1079,9 @@ char globalTranslations[] = \"Send to second chess program:\",,2) \n"; char boardTranslations[] = - ": HandleUserMove() \n \ - : HandleUserMove() \n \ + ": HandleUserMove(0) \n \ + Shift: HandleUserMove(1) \n \ + : HandleUserMove(0) \n \ : AnimateUserMove() \n \ : HandlePV() \n \ : PieceMenuPopup(menuB) \n \ @@ -4651,6 +4652,7 @@ void HandleUserMove(w, event, prms, nprms) Cardinal *nprms; { if (w != boardWidget || errorExitStatus != -1) return; + if(nprms) shiftKey = !strcmp(prms[0], "1"); if (promotionUp) { if (event->type == ButtonPress) {