mshtml: Fix a typo.

This commit is contained in:
Jacek Caban 2006-06-22 16:09:10 +02:00 committed by Alexandre Julliard
parent e82be4ba63
commit 7ceaf5b386
2 changed files with 3 additions and 1 deletions

View File

@ -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);
}

View File

@ -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);