mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[SHELL32] Strip leftover in CDefView::FillFileMenu() (#5330)
In 0.4.14-dev-955-g1cf564c25fKatayama experimented with populating explorers file-menu when no object is selected. Later we found out, that none of the new entries introduced by that commit really made sense and even created duplicates. So the commit was reverted by 0.4.15-dev-6039-g0fa4edebd9'Revert CDefView::FillFileMenu (#5278)' CORE-18429 But it seems that not all parts were properly reverted back then, maybe because 6 lines of new code were written between the two lines in the meantime.
This commit is contained in:
@@ -1348,8 +1348,6 @@ HRESULT CDefView::FillFileMenu()
|
||||
DeleteMenu(hFileMenu, i, MF_BYPOSITION);
|
||||
}
|
||||
|
||||
m_cidl = m_ListView.GetSelectedCount();
|
||||
|
||||
/* In case we still have this left over, clean it up! */
|
||||
if (m_pFileMenu)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user