Module: wine Branch: master Commit: 8dd3f7d8c4afc03a94635457184287e9a1f0f4a5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8dd3f7d8c4afc03a9463545718...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Nov 10 22:31:29 2015 +0300
mshtml: Make it clear that ATTR_FIX_PX and ATTR_FIX_URL as exclusive (Coverity).
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mshtml/htmlstyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mshtml/htmlstyle.c b/dlls/mshtml/htmlstyle.c index 33318ff..d0953f2 100644 --- a/dlls/mshtml/htmlstyle.c +++ b/dlls/mshtml/htmlstyle.c @@ -405,7 +405,7 @@ HRESULT set_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, cons if(value) { if(flags & ATTR_FIX_PX) val = fix_px_value(value); - if(flags & ATTR_FIX_URL) + else if(flags & ATTR_FIX_URL) val = fix_url_value(value); }