projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3bc1620
)
Fix non-bug in WinBoard
author
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 9 Feb 2012 21:44:39 +0000 (22:44 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Thu, 9 Feb 2012 21:44:39 +0000 (22:44 +0100)
The IDM_RecentEngines was not used in symbolic form everywhere.
winboard/winboard.c
patch
|
blob
|
history
diff --git
a/winboard/winboard.c
b/winboard/winboard.c
index
9ce5428
..
5c9bc1c
100644
(file)
--- a/
winboard/winboard.c
+++ b/
winboard/winboard.c
@@
-5468,7
+5468,7
@@
WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
\r
default:
\r
if(wmId >= IDM_RecentEngines && wmId < IDM_RecentEngines + appData.recentEngines)
\r
- RecentEngineEvent(wmId - 3000);
\r
+ RecentEngineEvent(wmId - IDM_RecentEngines);
\r
else
\r
if(wmId > IDM_English && wmId < IDM_English+20) {
\r
LoadLanguageFile(languageFile[wmId - IDM_English - 1]);
\r