Commit 7ceaf5b3 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fix a typo.

parent e82be4ba
......@@ -201,7 +201,7 @@ static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPo
*ppCP = CONPOINT(This->cp_htmldocevents2);
}else if(IsEqualGUID(&IID_IPropertyNotifySink, riid)) {
TRACE("(%p)->(IID_IPropertyNotifySink %p)\n", This, ppCP);
*ppCP = CONPOINT(This->cp_htmldocevents);
*ppCP = CONPOINT(This->cp_propnotif);
}
if(*ppCP) {
......@@ -227,6 +227,7 @@ void HTMLDocument_ConnectionPoints_Init(HTMLDocument *This)
{
This->lpConnectionPointContainerVtbl = &ConnectionPointContainerVtbl;
ConnectionPoint_Create(This, &IID_IPropertyNotifySink, &This->cp_propnotif);
ConnectionPoint_Create(This, &DIID_HTMLDocumentEvents, &This->cp_htmldocevents);
ConnectionPoint_Create(This, &DIID_HTMLDocumentEvents2, &This->cp_htmldocevents2);
}
......@@ -1295,6 +1295,7 @@ static void test_ConnectionPointContainer(IUnknown *unk)
if(FAILED(hres))
return;
test_ConnectionPoint(container, &IID_IPropertyNotifySink);
test_ConnectionPoint(container, &DIID_HTMLDocumentEvents);
test_ConnectionPoint(container, &DIID_HTMLDocumentEvents2);
......
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