Commit 8bfbe613 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Treat empty bstrHref as not specified in IHTMLDocument2::createStyleSheet.

parent 894737ac
......@@ -1669,7 +1669,7 @@ static HRESULT WINAPI HTMLDocument_createStyleSheet(IHTMLDocument2 *iface, BSTR
if(lIndex != -1)
FIXME("Unsupported lIndex %d\n", lIndex);
if(bstrHref) {
if(bstrHref && *bstrHref) {
FIXME("semi-stub for href %s\n", debugstr_w(bstrHref));
*ppnewStyleSheet = HTMLStyleSheet_Create(NULL);
return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment