From: H.G. Muller Date: Sun, 12 Jul 2009 01:24:19 +0000 (-0700) Subject: added shortcuts X-Git-Tag: v4.4.0.beta1~30 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=99a5932b83ff73fec361f526ee95140c4c376465;p=xboard.git added shortcuts This patch allows the use of Ctrl+C and Ctrl+V for Copy Game and Paste even in I C S mode when the board has focus. --- diff --git a/winboard/winboard.c b/winboard/winboard.c index 9cc844c..9cb29aa 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -5663,7 +5663,8 @@ WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) } else if(lParam != KF_REPEAT) { if (isalpha((char)wParam) || isdigit((char)wParam)) { PopUpMoveDialog((char)wParam); - } + } else if((char)wParam == 003) CopyGameToClipboard(); + else if((char)wParam == 026) PasteGameOrFENFromClipboard(); } break;