[1/3] mshtml: Implement HTMLElement2 get_scrollLeft (try 2)

Alexandre Julliard julliard at winehq.org
Wed Sep 10 04:05:03 CDT 2008


Alistair Leslie-Hughes <leslie_alistair at hotmail.com> writes:

> +    nsres = nsIDOMHTMLElement_QueryInterface(This->nselem, &IID_nsIDOMNSHTMLElement, (void**)&nselem);
> +    if(NS_SUCCEEDED(nsres))
> +    {
> +        nsres = nsIDOMNSHTMLElement_GetScrollLeft(nselem, &left);
> +        nsIDOMNSHTMLElement_Release(nselem);
> +        if(NS_FAILED(nsres))            
> +			left = 0;
> +    }
> +    else
> +    {
> +        ERR("Could not get nsIDOMNSHTMLElement interface: %08x\n", nsres);
> +    }

This ERR obviously needs the same treatment as the other one. Also
please fix your tab size.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list