Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
017f8028
Commit
017f8028
authored
Aug 08, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/gdipluspixelformats.h: Avoid explicit TRUE/FALSE in conditional expressions.
parent
4affaea0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gdipluspixelformats.h
include/gdipluspixelformats.h
+4
-4
No files found.
include/gdipluspixelformats.h
View file @
017f8028
...
@@ -51,22 +51,22 @@ typedef INT PixelFormat;
...
@@ -51,22 +51,22 @@ typedef INT PixelFormat;
static
inline
BOOL
IsIndexedPixelFormat
(
PixelFormat
format
)
static
inline
BOOL
IsIndexedPixelFormat
(
PixelFormat
format
)
{
{
return
(
format
&
PixelFormatIndexed
)
?
TRUE
:
FALSE
;
return
(
format
&
PixelFormatIndexed
)
!=
0
;
}
}
static
inline
BOOL
IsAlphaPixelFormat
(
PixelFormat
format
)
static
inline
BOOL
IsAlphaPixelFormat
(
PixelFormat
format
)
{
{
return
(
format
&
PixelFormatAlpha
)
?
TRUE
:
FALSE
;
return
(
format
&
PixelFormatAlpha
)
!=
0
;
}
}
static
inline
BOOL
IsCanonicalPixelFormat
(
PixelFormat
format
)
static
inline
BOOL
IsCanonicalPixelFormat
(
PixelFormat
format
)
{
{
return
(
format
&
PixelFormatCanonical
)
?
TRUE
:
FALSE
;
return
(
format
&
PixelFormatCanonical
)
!=
0
;
}
}
static
inline
BOOL
IsExtendedPixelFormat
(
PixelFormat
format
)
static
inline
BOOL
IsExtendedPixelFormat
(
PixelFormat
format
)
{
{
return
(
format
&
PixelFormatExtended
)
?
TRUE
:
FALSE
;
return
(
format
&
PixelFormatExtended
)
!=
0
;
}
}
static
inline
UINT
GetPixelFormatSize
(
PixelFormat
format
)
static
inline
UINT
GetPixelFormatSize
(
PixelFormat
format
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment