Commit e41f435c authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Handle VT_ERROR in IHTMLSelectElement::add.

parent 8826ba1b
......@@ -382,6 +382,7 @@ static HRESULT WINAPI HTMLSelectElement_add(IHTMLSelectElement *iface, IHTMLElem
switch(V_VT(&before)) {
case VT_EMPTY:
case VT_ERROR:
nsres = nsIWritableVariant_SetAsEmpty(nsvariant);
break;
case VT_I2:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment