Skip to content

Commit

Permalink
[SHELL32] Revert CDefView change at bc70af4
Browse files Browse the repository at this point in the history
CORE-18426
  • Loading branch information
katahiromz authored and errortek committed Oct 25, 2023
1 parent 1b75f23 commit 95ab108
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions dll/win32/shell32/CDefView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1926,13 +1926,6 @@ HRESULT CDefView::InvokeContextMenuCommand(CComPtr<IContextMenu>& pCM, LPCSTR lp
cmi.hwnd = m_hWnd;
cmi.lpVerb = lpVerb;

if (uCommand == FCIDM_SHVIEW_COPYTO)
cmi.lpVerb = "copyto";
else if (uCommand == FCIDM_SHVIEW_MOVETO)
cmi.lpVerb = "moveto";
else
cmi.lpVerb = MAKEINTRESOURCEA(uCommand);

if (GetKeyState(VK_SHIFT) & 0x8000)
cmi.fMask |= CMIC_MASK_SHIFT_DOWN;

Expand Down

0 comments on commit 95ab108

Please sign in to comment.