Hi Jactry,
On 09/09/14 08:06, Jactry Zeng wrote:
diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c index f098cb0..9469243 100644 --- a/dlls/mshtml/htmlstyle.c +++ b/dlls/mshtml/htmlstyle.c @@ -2482,6 +2482,8 @@ static HRESULT WINAPI HTMLStyle_get_pixelLeft(IHTMLStyle *iface, LONG *p) HTMLStyle *This = impl_from_IHTMLStyle(iface);
TRACE("(%p)->(%p)\n", This, p);
- if(!p)
return E_POINTER;
Since you're adding those checks to many functions, it would probably make sense to move that to get_nsstyle_pixel_val.
Jacek