[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:
parent
2afce6c1b2
commit
02086c9c0c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user