Author: pschweitzer
Date: Sun Mar 11 13:27:11 2012
New Revision: 56116
URL:
http://svn.reactos.org/svn/reactos?rev=56116&view=rev
Log:
[ATL]
Fix a bug in CComModule::UpdateRegistryFromResource that lead resources not to be
unregistered
Modified:
trunk/reactos/lib/atl/atlbase.h
Modified: trunk/reactos/lib/atl/atlbase.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/atl/atlbase.h?rev=5611…
==============================================================================
--- trunk/reactos/lib/atl/atlbase.h [iso-8859-1] (original)
+++ trunk/reactos/lib/atl/atlbase.h [iso-8859-1] Sun Mar 11 13:27:11 2012
@@ -378,7 +378,7 @@
if (bRegister != FALSE)
hResult = registrar.ResourceRegister(modulePath, nResID, _T("REGISTRY"));
else
- hResult = registrar.ResourceRegister(modulePath, nResID, _T("REGISTRY"));
+ hResult = registrar.ResourceUnregister(modulePath, nResID, _T("REGISTRY"));
return hResult;
}