projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5a2f62a
)
added shortcuts
author
H.G. Muller
<h.g.muller@hccnet.nl>
Sun, 12 Jul 2009 01:24:19 +0000 (18:24 -0700)
committer
Arun Persaud
<arun@nubati.net>
Sun, 12 Jul 2009 01:24:19 +0000 (18:24 -0700)
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
patch
|
blob
|
history
diff --git
a/winboard/winboard.c
b/winboard/winboard.c
index
9cc844c
..
9cb29aa
100644
(file)
--- 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) {
\r
if (isalpha((char)wParam) || isdigit((char)wParam)) {
\r
PopUpMoveDialog((char)wParam);
\r
- }
\r
+ } else if((char)wParam == 003) CopyGameToClipboard();
\r
+ else if((char)wParam == 026) PasteGameOrFENFromClipboard();
\r
}
\r
\r
break;
\r