Jacek Caban : mshtml: Pass dispex info to HTMLElement_Init in HTMLElement_Create.

Alexandre Julliard julliard at winehq.org
Fri Jan 29 10:56:33 CST 2010


Module: wine
Branch: master
Commit: 4a400e154baf9ed25a6c3c68db29d76a9742b6ee
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4a400e154baf9ed25a6c3c68db29d76a9742b6ee

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Jan 28 23:54:10 2010 +0100

mshtml: Pass dispex info to HTMLElement_Init in HTMLElement_Create.

---

 dlls/mshtml/htmlelem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c
index e98243d..72921ae 100644
--- a/dlls/mshtml/htmlelem.c
+++ b/dlls/mshtml/htmlelem.c
@@ -1671,7 +1671,7 @@ HTMLElement *HTMLElement_Create(HTMLDocumentNode *doc, nsIDOMNode *nsnode, BOOL
 
     if(!ret) {
         ret = heap_alloc_zero(sizeof(HTMLElement));
-        HTMLElement_Init(ret, doc, nselem, NULL);
+        HTMLElement_Init(ret, doc, nselem, &HTMLElement_dispex);
         ret->node.vtbl = &HTMLElementImplVtbl;
     }
 




More information about the wine-cvs mailing list