mshtml: Handle VT_ERROR in IHTMLSelectElement::add.
This commit is contained in:
parent
8826ba1bc8
commit
e41f435c47
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue