mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
remove warnings
svn path=/trunk/; revision=5576
This commit is contained in:
parent
98cc6d95b0
commit
501742224c
2 changed files with 2 additions and 2 deletions
|
@ -448,7 +448,7 @@ HRESULT ShellBrowserChild::OnDefaultCommand(IShellView* ppshv)
|
|||
return hr;
|
||||
|
||||
|
||||
STGMEDIUM stgm = {sizeof(STGMEDIUM)};
|
||||
STGMEDIUM stgm = {sizeof(STGMEDIUM), {0}, 0};
|
||||
|
||||
hr = selection->GetData(&fetc, &stgm);
|
||||
if (FAILED(hr))
|
||||
|
|
|
@ -478,7 +478,7 @@ bool IDropTargetImpl::QueryDrop(DWORD grfKeyState, LPDWORD pdwEffect)
|
|||
//no modifier -- DROPEFFECT_MOVE or whatever is allowed by src
|
||||
*pdwEffect = (grfKeyState & MK_CONTROL) ?
|
||||
( (grfKeyState & MK_SHIFT) ? DROPEFFECT_LINK : DROPEFFECT_COPY ):
|
||||
( (grfKeyState & MK_SHIFT) ? DROPEFFECT_MOVE : 0 );
|
||||
( (grfKeyState & MK_SHIFT) ? DROPEFFECT_MOVE : DROPEFFECT_NONE );
|
||||
if (*pdwEffect == 0)
|
||||
{
|
||||
// No modifier keys used by user while dragging.
|
||||
|
|
Loading…
Reference in a new issue