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
db917247
Commit
db917247
authored
Jun 28, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Fix uninitialized value jump and a leak in GdipAddPathPolygon test.
parent
97709148
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
graphicspath.c
dlls/gdiplus/tests/graphicspath.c
+4
-1
No files found.
dlls/gdiplus/tests/graphicspath.c
View file @
db917247
...
...
@@ -602,6 +602,8 @@ static void test_polygon(void)
points
[
4
].
X
=
20
.
0
;
points
[
4
].
Y
=
0
.
0
;
GdipCreatePath
(
FillModeAlternate
,
&
path
);
/* NULL args */
status
=
GdipAddPathPolygon
(
NULL
,
points
,
5
);
expect
(
InvalidParameter
,
status
);
...
...
@@ -611,7 +613,6 @@ static void test_polygon(void)
status
=
GdipAddPathPolygon
(
path
,
points
,
2
);
expect
(
InvalidParameter
,
status
);
GdipCreatePath
(
FillModeAlternate
,
&
path
);
/* to test how it prolongs not empty path */
status
=
GdipAddPathLine
(
path
,
5
.
0
,
5
.
0
,
6
.
0
,
8
.
0
);
expect
(
Ok
,
status
);
...
...
@@ -619,6 +620,8 @@ static void test_polygon(void)
expect
(
Ok
,
status
);
/* check resulting path */
ok_path
(
path
,
poly_path
,
sizeof
(
poly_path
)
/
sizeof
(
path_test_t
),
FALSE
);
GdipDeletePath
(
path
);
}
static
path_test_t
rect_path
[]
=
{
...
...
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