From 1e0eaed1ded7d4b031b7dbb9f189c2d2c11e3746 Mon Sep 17 00:00:00 2001 From: Juergen Schmied Date: Fri, 10 Sep 1999 13:54:15 +0000 Subject: [PATCH] Fixed wrong return value. --- dlls/shell32/shlfolder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/shell32/shlfolder.c b/dlls/shell32/shlfolder.c index 24d19358abc..d2589fe9ebf 100644 --- a/dlls/shell32/shlfolder.c +++ b/dlls/shell32/shlfolder.c @@ -827,6 +827,7 @@ static HRESULT WINAPI IShellFolder_fnGetUIObjectOf( if(IsEqualIID(riid, &IID_IContextMenu) && (cidl >= 1)) { pObj = (LPUNKNOWN)IContextMenu_Constructor((IShellFolder *)This, This->absPidl, apidl, cidl); + hr = S_OK; } else if (IsEqualIID(riid, &IID_IDataObject) &&(cidl >= 1)) {