From e41f435c47d35bc5d5f42e66443080f65055c13e Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 16 Dec 2014 13:10:36 +0100 Subject: [PATCH] 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 3cdf496b954..5d5967e5abc 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: