Jacek Caban : mshtml: Fix a typo.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jun 23 06:43:33 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 7ceaf5b38683169a62fda78787f09e879aaad3c0
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=7ceaf5b38683169a62fda78787f09e879aaad3c0

Author: Jacek Caban <jacek at 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);
 




More information about the wine-cvs mailing list