[BUG_FIXED] (Author: CodeForLife) Fix Incorrect Macro Deleted from Macro Menu.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1053 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2013-06-04 00:28:50 +00:00
parent 2afce6c1b2
commit 02086c9c0c

View File

@ -373,7 +373,7 @@ BOOL CALLBACK ShortcutMapper::run_dlgProc(UINT message, WPARAM wParam, LPARAM lP
nppParam->getAccelerator()->updateShortcuts();
// All menu items are shifted up. So we delete the last item
::RemoveMenu(hMenu, posBase + nbElem - 1, MF_BYPOSITION);
::RemoveMenu(hMenu, posBase + nbElem, MF_BYPOSITION);
if (nbElem == 0)
{