Commit a90c1133 authored by Alex Villacís Lasso's avatar Alex Villacís Lasso Committed by Alexandre Julliard

Add missing ! to fix a reversed condition check in

OleCreateDefaultHandler, in order to match intent in comment.
parent 69dfea8f
......@@ -1422,7 +1422,7 @@ HRESULT WINAPI OleCreateDefaultHandler(
* This is necessary because it's the only time the non-delegating
* IUnknown pointer can be returned to the outside.
*/
if (pUnkOuter && IsEqualIID(&IID_IUnknown, riid))
if (pUnkOuter && !IsEqualIID(&IID_IUnknown, riid))
return CLASS_E_NOAGGREGATION;
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment