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>
This commit is contained in:
Nikolay Sivov 2015-11-10 22:31:29 +03:00 committed by Alexandre Julliard
parent 136d6755de
commit 8dd3f7d8c4
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}