Fix memviewsp bookmark menu handling bug

This commit is contained in:
gocha 2010-10-23 13:37:54 +00:00
parent 6e7c9f5125
commit 317c56ba9d
1 changed files with 1 additions and 1 deletions

View File

@ -1640,7 +1640,7 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa
return 0;
default:
if (wParam >= ID_FIRST_BOOKMARK && wParam <= ID_FIRST_BOOKMARK)
if (wParam >= ID_FIRST_BOOKMARK && wParam < (ID_FIRST_BOOKMARK + 64))
{
int newValue = handleBookmarkMenu(wParam - ID_FIRST_BOOKMARK);