Module: wine Branch: master Commit: e41f435c47d35bc5d5f42e66443080f65055c13e URL: http://source.winehq.org/git/wine.git/?a=commit;h=e41f435c47d35bc5d5f42e6644...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Dec 16 13:10:36 2014 +0100
mshtml: Handle VT_ERROR in IHTMLSelectElement::add.
---
dlls/mshtml/htmlselect.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mshtml/htmlselect.c b/dlls/mshtml/htmlselect.c index 3cdf496..5d5967e 100644 --- a/dlls/mshtml/htmlselect.c +++ b/dlls/mshtml/htmlselect.c @@ -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: