https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f9d3c2c608af3551a1927…
commit f9d3c2c608af3551a192709fec472b615b90cab2
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sun Oct 20 00:42:16 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Oct 20 17:10:11 2019 +0200
[SHELL32] Mark an unexpected failure as unexpected
---
dll/win32/shell32/dialogs/filedefext.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/shell32/dialogs/filedefext.cpp
b/dll/win32/shell32/dialogs/filedefext.cpp
index 1fe3215f80f..f4b587dae1e 100644
--- a/dll/win32/shell32/dialogs/filedefext.cpp
+++ b/dll/win32/shell32/dialogs/filedefext.cpp
@@ -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)))