gdi32: Avoid TRUE:FALSE conditional expressions.
This commit is contained in:
parent
69d44b54f9
commit
4d3a7aa268
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue