diff --git a/dll/win32/shell32/droptargets/CRecyclerDropTarget.cpp b/dll/win32/shell32/droptargets/CRecyclerDropTarget.cpp index a29ec1e1c8..505765e128 100644 --- a/dll/win32/shell32/droptargets/CRecyclerDropTarget.cpp +++ b/dll/win32/shell32/droptargets/CRecyclerDropTarget.cpp @@ -54,7 +54,7 @@ class CRecyclerDropTarget : ZeroMemory(&FileOp, sizeof(FileOp)); FileOp.wFunc = FO_DELETE; FileOp.pFrom = (LPWSTR) (((byte*) lpdf) + lpdf->pFiles);; - if ((fMask & CMIC_MASK_SHIFT_DOWN) == 0) + if (GetKeyState(VK_SHIFT) >= 0) FileOp.fFlags = FOF_ALLOWUNDO; TRACE("Deleting file (just the first) = %s, allowundo: %d\n", debugstr_w(FileOp.pFrom), (FileOp.fFlags == FOF_ALLOWUNDO));