Add missing ! to fix a reversed condition check in
OleCreateDefaultHandler, in order to match intent in comment.
This commit is contained in:
parent
69dfea8f44
commit
a90c11330e
|
@ -1422,7 +1422,7 @@ HRESULT WINAPI OleCreateDefaultHandler(
|
||||||
* This is necessary because it's the only time the non-delegating
|
* This is necessary because it's the only time the non-delegating
|
||||||
* IUnknown pointer can be returned to the outside.
|
* IUnknown pointer can be returned to the outside.
|
||||||
*/
|
*/
|
||||||
if (pUnkOuter && IsEqualIID(&IID_IUnknown, riid))
|
if (pUnkOuter && !IsEqualIID(&IID_IUnknown, riid))
|
||||||
return CLASS_E_NOAGGREGATION;
|
return CLASS_E_NOAGGREGATION;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue