[commit] r2165 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Mar 22 10:24:47 CDT 2013


Author: ksmyth
Date: Fri Mar 22 10:24:47 2013
New Revision: 2165

Log:
Note FileOpenDialog may return HRESULT_FROM_WIN32(ERROR_CANCELLED)

Modified:
   trunk/GME/Gme/GMEVistaUtil.cpp

Modified: trunk/GME/Gme/GMEVistaUtil.cpp
==============================================================================
--- trunk/GME/Gme/GMEVistaUtil.cpp	Fri Mar 22 10:24:25 2013	(r2164)
+++ trunk/GME/Gme/GMEVistaUtil.cpp	Fri Mar 22 10:24:47 2013	(r2165)
@@ -24,7 +24,7 @@
 		return hr;
 	hr = pfd->Show(NULL);
 	if (FAILED(hr))
-		return hr;
+		return hr; // may be HRESULT_FROM_WIN32(ERROR_CANCELLED)
 
 	CComPtr<IShellItem> psiResult;
 	hr = pfd->GetResult(&psiResult);


More information about the gme-commit mailing list