From 99a5932b83ff73fec361f526ee95140c4c376465 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 11 Jul 2009 18:24:19 -0700 Subject: [PATCH] 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. --- winboard/winboard.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 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; -- 1.7.0.4