Add missing ! to fix a reversed condition check in

OleCreateDefaultHandler, in order to match intent in comment.
This commit is contained in:
Alex Villacís Lasso 2005-09-28 18:12:45 +00:00 committed by Alexandre Julliard
parent 69dfea8f44
commit a90c11330e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
/* /*