Nikolay Sivov : shell32: Use interface pointer instead of implementation one.

Alexandre Julliard julliard at winehq.org
Fri Aug 26 10:18:12 CDT 2016


Module: wine
Branch: master
Commit: 91947b35ad503e2fbf2f4e886ddcc220d927e43b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=91947b35ad503e2fbf2f4e886ddcc220d927e43b

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Aug 25 23:30:16 2016 +0300

shell32: Use interface pointer instead of implementation one.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list