mshtml: Handle VT_ERROR in IHTMLSelectElement::add.

oldstable
Jacek Caban 2014-12-16 13:10:36 +01:00 committed by Alexandre Julliard
parent 8826ba1bc8
commit e41f435c47
1 changed files with 1 additions and 0 deletions

View File

@ -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: