Commit 4d3a7aa2 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdi32: Avoid TRUE:FALSE conditional expressions.

parent 69d44b54
......@@ -1390,7 +1390,7 @@ INT WINAPI GetDIBits(
ret = lines;
}
else
ret = empty_rect ? FALSE : TRUE;
ret = !empty_rect;
if (coloruse == DIB_PAL_COLORS)
{
......
......@@ -1754,7 +1754,7 @@ static Face *create_face( FT_Face ft_face, FT_Long face_index, const char *file,
}
face->vertical = vertical;
face->external = (flags & ADDFONT_EXTERNAL_FONT) ? TRUE : FALSE;
face->external = (flags & ADDFONT_EXTERNAL_FONT) != 0;
face->family = NULL;
face->cached_enum_data = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment