[SHELL32] Strip leftover in CDefView::FillFileMenu() (#5330)

In 0.4.14-dev-955-g 1cf564c25f
Katayama 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-g 0fa4edebd9 '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:
Joachim Henze
2023-06-11 20:53:25 +02:00
committed by GitHub
parent 0f9be53985
commit d3164a0f55

View File

@@ -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)
{