remove warnings

svn path=/trunk/; revision=5576
This commit is contained in:
Martin Fuchs 2003-08-15 07:53:07 +00:00
parent 98cc6d95b0
commit 501742224c
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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.