gdi32: Avoid TRUE:FALSE conditional expressions.

This commit is contained in:
Michael Stefaniuc 2012-08-08 21:10:10 +02:00 committed by Alexandre Julliard
parent 69d44b54f9
commit 4d3a7aa268
2 changed files with 2 additions and 2 deletions

View File

@ -1390,7 +1390,7 @@ INT WINAPI GetDIBits(
ret = lines;
}
else
ret = empty_rect ? FALSE : TRUE;
ret = !empty_rect;
if (coloruse == DIB_PAL_COLORS)
{

View File

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