mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-10 11:28:04 +00:00
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)) {
|
switch(V_VT(&before)) {
|
||||||
case VT_EMPTY:
|
case VT_EMPTY:
|
||||||
|
case VT_ERROR:
|
||||||
nsres = nsIWritableVariant_SetAsEmpty(nsvariant);
|
nsres = nsIWritableVariant_SetAsEmpty(nsvariant);
|
||||||
break;
|
break;
|
||||||
case VT_I2:
|
case VT_I2:
|
||||||
|
|
Loading…
Reference in a new issue