mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 15:38:37 +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)
|
if (bRegister != FALSE)
|
||||||
hResult = registrar.ResourceRegister(modulePath, nResID, _T("REGISTRY"));
|
hResult = registrar.ResourceRegister(modulePath, nResID, _T("REGISTRY"));
|
||||||
else
|
else
|
||||||
hResult = registrar.ResourceRegister(modulePath, nResID, _T("REGISTRY"));
|
hResult = registrar.ResourceUnregister(modulePath, nResID, _T("REGISTRY"));
|
||||||
|
|
||||||
return hResult;
|
return hResult;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue