mshtml: Return an error instead of a random value if navigate_anchor fails.
Gerald Pfeifer
gerald at pfeifer.com
Sun Aug 7 23:51:45 CDT 2011
Jacek, I believe this is a small fallout from your improvements
last week? Hope it is okay.
Gerald
---
dlls/mshtml/htmlanchor.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/mshtml/htmlanchor.c b/dlls/mshtml/htmlanchor.c
index c369ed5..ab5dc44 100644
--- a/dlls/mshtml/htmlanchor.c
+++ b/dlls/mshtml/htmlanchor.c
@@ -74,6 +74,8 @@ static HRESULT navigate_anchor(HTMLAnchorElement *This)
TRACE("empty href\n");
hres = S_OK;
}
+ } else {
+ hres = E_FAIL;
}
nsAString_Finish(&href_str);
return hres;
--
1.7.3.5
More information about the wine-patches
mailing list