Module: wine Branch: refs/heads/master Commit: 7ceaf5b38683169a62fda78787f09e879aaad3c0 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7ceaf5b38683169a62fda787...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Jun 22 16:09:10 2006 +0200
mshtml: Fix a typo.
---
dlls/mshtml/conpoint.c | 3 ++- dlls/mshtml/tests/htmldoc.c | 1 + 2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/conpoint.c b/dlls/mshtml/conpoint.c index 2ff410c..480814a 100644 --- a/dlls/mshtml/conpoint.c +++ b/dlls/mshtml/conpoint.c @@ -201,7 +201,7 @@ static HRESULT WINAPI ConnectionPointCon *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( { 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); } diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index fca371b..78ce95b 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -1295,6 +1295,7 @@ static void test_ConnectionPointContaine if(FAILED(hres)) return;
+ test_ConnectionPoint(container, &IID_IPropertyNotifySink); test_ConnectionPoint(container, &DIID_HTMLDocumentEvents); test_ConnectionPoint(container, &DIID_HTMLDocumentEvents2);