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
181e432e
Commit
181e432e
authored
Oct 18, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Don't release a random DC handle.
parent
446bff78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dce.c
dlls/user32/tests/dce.c
+3
-3
No files found.
dlls/user32/tests/dce.c
View file @
181e432e
...
...
@@ -78,7 +78,7 @@ static void test_dc_attributes(void)
old_hdc
=
hdcs
[
0
];
SetROP2
(
old_hdc
,
R2_WHITE
);
}
while
(
i
>
=
0
)
ReleaseDC
(
hwnd_cache
,
hdcs
[
--
i
]
);
while
(
i
>
0
)
ReleaseDC
(
hwnd_cache
,
hdcs
[
--
i
]
);
for
(
i
=
0
;
i
<
20
;
i
++
)
{
...
...
@@ -91,7 +91,7 @@ static void test_dc_attributes(void)
else
ok
(
rop
==
def_rop
,
"wrong ROP2 %d after release %p/%p
\n
"
,
rop
,
old_hdc
,
hdc
);
}
while
(
i
>
=
0
)
ReleaseDC
(
hwnd_cache
,
hdcs
[
--
i
]
);
while
(
i
>
0
)
ReleaseDC
(
hwnd_cache
,
hdcs
[
--
i
]
);
for
(
i
=
0
;
i
<
20
;
i
++
)
{
...
...
@@ -107,7 +107,7 @@ static void test_dc_attributes(void)
else
ok
(
rop
==
def_rop
,
"wrong ROP2 %d after release %p/%p
\n
"
,
rop
,
old_hdc
,
hdc
);
}
while
(
i
>
=
0
)
ReleaseDC
(
hwnd_cache
,
hdcs
[
--
i
]
);
while
(
i
>
0
)
ReleaseDC
(
hwnd_cache
,
hdcs
[
--
i
]
);
/* test own DC */
...
...
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