Fix broken menu sorting

It was broken in bb26cec commit.

Fixes #1111
This commit is contained in:
ge0rdi
2022-09-09 09:13:54 +02:00
parent 687e50914f
commit 1cc5d2eb53
3 changed files with 9 additions and 12 deletions

View File

@@ -903,7 +903,7 @@ HRESULT STDMETHODCALLTYPE CMenuContainer::Drop( IDataObject *pDataObj, DWORD grf
else if (i<before)
skip++;
}
SortMenuItem ins(L"",FNV_HASH0,false,false,false,folderIndex*2,0);
SortMenuItem ins(L"",FNV_HASH0,false,false,folderIndex*2,0);
items.insert(items.begin()+(before-skip),ins);
SaveItemOrder(items);
}