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

This commit is contained in:
Jacek Caban 2014-12-23 17:07:18 +01:00 committed by Alexandre Julliard
parent 894737ac55
commit 8bfbe61386

View File

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