[SHELL32] Mark an unexpected failure as unexpected
authorMark Jansen <mark.jansen@reactos.org>
Sat, 19 Oct 2019 22:42:16 +0000 (00:42 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Sun, 20 Oct 2019 15:10:11 +0000 (17:10 +0200)
dll/win32/shell32/dialogs/filedefext.cpp

index 1fe3215..f4b587d 100644 (file)
@@ -1190,7 +1190,7 @@ CFileDefExt::Initialize(PCIDLIST_ABSOLUTE pidlFolder, IDataObject *pDataObj, HKE
     format.tymed = TYMED_HGLOBAL;
 
     hr = pDataObj->GetData(&format, &stgm);
-    if (FAILED(hr))
+    if (FAILED_UNEXPECTEDLY(hr))
         return hr;
 
     if (!DragQueryFileW((HDROP)stgm.hGlobal, 0, m_wszPath, _countof(m_wszPath)))