[PATCH] shell32: Use interface pointer instead of implementation one

Nikolay Sivov nsivov at codeweavers.com
Thu Aug 25 15:30:16 CDT 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/shell32/recyclebin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/shell32/recyclebin.c b/dlls/shell32/recyclebin.c
index 0b5638b..80e5aad 100644
--- a/dlls/shell32/recyclebin.c
+++ b/dlls/shell32/recyclebin.c
@@ -486,7 +486,7 @@ static HRESULT WINAPI RecycleBin_CreateViewObject(IShellFolder2 *iface, HWND hwn
 
         ZeroMemory(&sfv, sizeof(sfv));
         sfv.cbSize = sizeof(sfv);
-        sfv.pshf = (IShellFolder *)This;
+        sfv.pshf = (IShellFolder *)&This->IShellFolder2_iface;
 
         TRACE("Calling SHCreateShellFolderViewEx\n");
         ret = SHCreateShellFolderViewEx(&sfv, &tmp);
-- 
2.9.3




More information about the wine-patches mailing list