mshtml: Return an error instead of a random value if navigate_anchor fails.
Gerald Pfeifer
gerald at pfeifer.com
Thu Aug 25 17:15:21 CDT 2011
No solved differently, cf. 7205f8888355441f63ec8da290061a74f57124fb .
Gerald
On Mon, 8 Aug 2011, Gerald Pfeifer wrote:
> 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;
>
More information about the wine-patches
mailing list