Skip to content
Snippets Groups Projects
Commit db5d8a2b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

mshtml: Fixed IHTMLInputTextElement vtbl and QueryInterface implementation.

Spotted by Andrew Talbot.
parent 4eb80d8d
No related branches found
No related tags found
No related merge requests found
......@@ -1082,7 +1082,7 @@ static HRESULT HTMLInputElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
*ppv = HTMLINPUT(This);
}else if(IsEqualGUID(&IID_IHTMLInputTextElement, riid)) {
TRACE("(%p)->(IID_IHTMLInputTextElement %p)\n", This, ppv);
*ppv = HTMLINPUT(This);
*ppv = HTMLINPUTTEXT(This);
}
if(*ppv) {
......@@ -1145,6 +1145,7 @@ HTMLElement *HTMLInputElement_Create(nsIDOMHTMLElement *nselem)
nsresult nsres;
ret->lpHTMLInputElementVtbl = &HTMLInputElementVtbl;
ret->lpHTMLInputTextElementVtbl = &HTMLInputTextElementVtbl;
ret->element.node.vtbl = &HTMLInputElementImplVtbl;
init_dispex(&ret->element.node.dispex, (IUnknown*)HTMLINPUT(ret), &HTMLInputElement_dispex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment