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
6eb70eea
Commit
6eb70eea
authored
Jul 09, 2016
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 10, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorerframe/tests: Use SetRect() instead of open coding it.
Signed-off-by:
Michael Stefaniuc
<
mstefani@redhat.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
15c55ff7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nstc.c
dlls/explorerframe/tests/nstc.c
+2
-2
No files found.
dlls/explorerframe/tests/nstc.c
View file @
6eb70eea
...
@@ -862,7 +862,7 @@ static void test_basics(void)
...
@@ -862,7 +862,7 @@ static void test_basics(void)
process_msgs
();
process_msgs
();
/* Initialize the control */
/* Initialize the control */
rc
.
top
=
rc
.
left
=
0
;
rc
.
right
=
rc
.
bottom
=
200
;
SetRect
(
&
rc
,
0
,
0
,
200
,
200
)
;
hr
=
INameSpaceTreeControl_Initialize
(
pnstc
,
hwnd
,
&
rc
,
0
);
hr
=
INameSpaceTreeControl_Initialize
(
pnstc
,
hwnd
,
&
rc
,
0
);
ok
(
hr
==
S_OK
,
"Got (0x%08x)
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Got (0x%08x)
\n
"
,
hr
);
...
@@ -1563,7 +1563,7 @@ static void test_basics(void)
...
@@ -1563,7 +1563,7 @@ static void test_basics(void)
ok
(
hr
==
S_OK
,
"Got (0x%08x)
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Got (0x%08x)
\n
"
,
hr
);
/* GetItemRect */
/* GetItemRect */
rc
.
top
=
rc
.
left
=
rc
.
bottom
=
rc
.
right
=
0
;
SetRectEmpty
(
&
rc
)
;
if
(
0
)
if
(
0
)
{
{
/* Crashes under win 7 */
/* Crashes under win 7 */
...
...
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