From c199f8be2e8cd63adefdecf3646b7e761dceecee Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Tue, 28 Oct 2014 00:58:19 +0000 Subject: [PATCH] [SHELL32] - Properly check for error in CDefaultContextMenu::DoCreateLink svn path=/branches/shell-experiments/; revision=65064 --- dll/win32/shell32/defcontextmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/shell32/defcontextmenu.cpp b/dll/win32/shell32/defcontextmenu.cpp index b02f9d03375..6966901747b 100644 --- a/dll/win32/shell32/defcontextmenu.cpp +++ b/dll/win32/shell32/defcontextmenu.cpp @@ -1115,7 +1115,7 @@ CDefaultContextMenu::DoCreateLink( return hr; } - psfTarget->QueryInterface(IID_PPV_ARG(IDropTarget, &pDT)); + hr = psfTarget->QueryInterface(IID_PPV_ARG(IDropTarget, &pDT)); if (FAILED(hr)) { ERR("no IDropTarget Interface\n");