mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +00:00
[ATL]
Fix a bug in CComModule::UpdateRegistryFromResource that lead resources not to be unregistered svn path=/trunk/; revision=56116
This commit is contained in:
parent
741e0558b8
commit
b123382a03
1 changed files with 1 additions and 1 deletions
|
@ -378,7 +378,7 @@ public:
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue