From: H.G. Muller Date: Thu, 9 Feb 2012 21:44:39 +0000 (+0100) Subject: Fix non-bug in WinBoard X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=cc08ac5dc0f7a6c558603e979da726270883ae76;p=xboard.git Fix non-bug in WinBoard The IDM_RecentEngines was not used in symbolic form everywhere. --- 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]);