Alistair Leslie-Hughes leslie_alistair@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.