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
6b21feae
Commit
6b21feae
authored
Dec 19, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Dec 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: There is no need to cast NULL to a function pointer.
parent
8537c46c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
region.c
dlls/gdi32/region.c
+4
-4
No files found.
dlls/gdi32/region.c
View file @
6b21feae
...
...
@@ -1683,7 +1683,7 @@ static void REGION_RegionOp(
top
=
max
(
r1
->
top
,
ybot
);
bot
=
min
(
r1
->
bottom
,
r2
->
top
);
if
((
top
!=
bot
)
&&
(
nonOverlap1Func
!=
(
void
(
*
)())
NULL
))
if
((
top
!=
bot
)
&&
(
nonOverlap1Func
!=
NULL
))
{
(
*
nonOverlap1Func
)
(
newReg
,
r1
,
r1BandEnd
,
top
,
bot
);
}
...
...
@@ -1695,7 +1695,7 @@ static void REGION_RegionOp(
top
=
max
(
r2
->
top
,
ybot
);
bot
=
min
(
r2
->
bottom
,
r1
->
top
);
if
((
top
!=
bot
)
&&
(
nonOverlap2Func
!=
(
void
(
*
)())
NULL
))
if
((
top
!=
bot
)
&&
(
nonOverlap2Func
!=
NULL
))
{
(
*
nonOverlap2Func
)
(
newReg
,
r2
,
r2BandEnd
,
top
,
bot
);
}
...
...
@@ -1755,7 +1755,7 @@ static void REGION_RegionOp(
curBand
=
newReg
->
numRects
;
if
(
r1
!=
r1End
)
{
if
(
nonOverlap1Func
!=
(
void
(
*
)())
NULL
)
if
(
nonOverlap1Func
!=
NULL
)
{
do
{
...
...
@@ -1770,7 +1770,7 @@ static void REGION_RegionOp(
}
while
(
r1
!=
r1End
);
}
}
else
if
((
r2
!=
r2End
)
&&
(
nonOverlap2Func
!=
(
void
(
*
)())
NULL
))
else
if
((
r2
!=
r2End
)
&&
(
nonOverlap2Func
!=
NULL
))
{
do
{
...
...
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