From cc08ac5dc0f7a6c558603e979da726270883ae76 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 9 Feb 2012 22:44:39 +0100 Subject: [PATCH] Fix non-bug in WinBoard The IDM_RecentEngines was not used in symbolic form everywhere. --- winboard/winboard.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/winboard/winboard.c b/winboard/winboard.c index 9ce5428..5c9bc1c 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -5468,7 +5468,7 @@ WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) default: if(wmId >= IDM_RecentEngines && wmId < IDM_RecentEngines + appData.recentEngines) - RecentEngineEvent(wmId - 3000); + RecentEngineEvent(wmId - IDM_RecentEngines); else if(wmId > IDM_English && wmId < IDM_English+20) { LoadLanguageFile(languageFile[wmId - IDM_English - 1]); -- 1.7.0.4