Vitaliy Margolen : mshtml: Fix another typo and add trace.
Alexandre Julliard
julliard at winehq.org
Mon Sep 24 08:07:55 CDT 2007
Module: wine
Branch: master
Commit: 2755c92fc3c2a64b029bc16f871c85e5ff488999
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2755c92fc3c2a64b029bc16f871c85e5ff488999
Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date: Fri Sep 21 21:45:06 2007 -0600
mshtml: Fix another typo and add trace.
---
dlls/mshtml/htmlbody.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/mshtml/htmlbody.c b/dlls/mshtml/htmlbody.c
index b8c153a..3064347 100644
--- a/dlls/mshtml/htmlbody.c
+++ b/dlls/mshtml/htmlbody.c
@@ -40,8 +40,6 @@ typedef struct {
const IHTMLBodyElementVtbl *lpHTMLBodyElementVtbl;
- HTMLTextContainer text_container;
-
ConnectionPointContainer cp_container;
ConnectionPoint cp_propnotif;
ConnectionPoint cp_txtcontevents;
@@ -71,8 +69,8 @@ static HRESULT WINAPI HTMLBodyElement_QueryInterface(IHTMLBodyElement *iface,
TRACE("(%p)->(IID_IHTMLBodyElement %p)\n", This, ppv);
*ppv = HTMLBODY(This);
}else if(IsEqualGUID(&IID_IHTMLTextContainer, riid)) {
- TRACE("(%p)->(IID_IHTMLTextContainer %p)\n", This, ppv);
- *ppv = HTMLTEXTCONT(&This->text_container);
+ TRACE("(%p)->(IID_IHTMLTextContainer %p)\n", &This->textcont, ppv);
+ *ppv = HTMLTEXTCONT(&This->textcont);
}else if(IsEqualGUID(&IID_IConnectionPointContainer, riid)) {
TRACE("(%p)->(IID_IConnectionPointContainer %p)\n", This, ppv);
*ppv = CONPTCONT(&This->cp_container);
@@ -487,9 +485,11 @@ HTMLElement *HTMLBodyElement_Create(nsIDOMHTMLElement *nselem)
HTMLBodyElement *ret = mshtml_alloc(sizeof(HTMLBodyElement));
nsresult nsres;
+ TRACE("(%p)->(%p)\n", ret, nselem);
+
ret->lpHTMLBodyElementVtbl = &HTMLBodyElementVtbl;
- HTMLTextContainer_Init(&ret->text_container);
+ HTMLTextContainer_Init(&ret->textcont);
ConnectionPoint_Init(&ret->cp_propnotif, CONPTCONT(&ret->cp_container),
&IID_IPropertyNotifySink, NULL);
More information about the wine-cvs
mailing list