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
4339944f
Commit
4339944f
authored
May 07, 2010
by
Gerald Pfeifer
Committed by
Alexandre Julliard
May 10, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32/tests: Remove variable oldPen which is not really used from test_widenpath.
parent
130686cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
path.c
dlls/gdi32/tests/path.c
+2
-3
No files found.
dlls/gdi32/tests/path.c
View file @
4339944f
...
...
@@ -37,13 +37,12 @@ static void test_widenpath(void)
{
HDC
hdc
=
GetDC
(
0
);
HPEN
greenPen
,
narrowPen
;
HPEN
oldPen
;
POINT
pnt
[
6
];
INT
nSize
,
ret
;
/* Create a pen to be used in WidenPath */
greenPen
=
CreatePen
(
PS_SOLID
,
10
,
RGB
(
0
,
0
,
0
));
oldPen
=
SelectObject
(
hdc
,
greenPen
);
SelectObject
(
hdc
,
greenPen
);
/* Prepare a path */
pnt
[
0
].
x
=
100
;
...
...
@@ -85,7 +84,7 @@ static void test_widenpath(void)
/* Test when the pen width is equal to 1. The path should change too */
narrowPen
=
CreatePen
(
PS_SOLID
,
1
,
RGB
(
0
,
0
,
0
));
oldPen
=
SelectObject
(
hdc
,
narrowPen
);
SelectObject
(
hdc
,
narrowPen
);
BeginPath
(
hdc
);
Polyline
(
hdc
,
pnt
,
6
);
EndPath
(
hdc
);
...
...
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