Re: [1/3] mshtml: Implement HTMLElement2 get_scrollLeft (try 2)
10 Sep
2008
10 Sep
'08
4:05 a.m.
Alistair Leslie-Hughes <leslie_alistair(a)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(a)winehq.org
6304
Age (days ago)
6304
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard