Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
4ed08b9d
Commit
4ed08b9d
authored
Dec 30, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Dec 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Don't test function directly when reporting GetLastError().
parent
d037b409
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
url.c
dlls/urlmon/tests/url.c
+3
-2
No files found.
dlls/urlmon/tests/url.c
View file @
4ed08b9d
...
...
@@ -1617,9 +1617,10 @@ static HRESULT WINAPI statusclb_OnDataAvailable(IBindStatusCallbackEx *iface, DW
ok
(
pformatetc
!=
NULL
,
"pformatetx == NULL
\n
"
);
if
(
pformatetc
)
{
if
(
mime_type
[
0
])
{
INT
ret
;
clipfmt
[
0
]
=
0
;
ok
(
GetClipboardFormatName
(
pformatetc
->
cfFormat
,
clipfmt
,
sizeof
(
clipfmt
)
-
1
),
"GetClipboardFormatName failed, error %d
\n
"
,
GetLastError
());
ret
=
GetClipboardFormatName
(
pformatetc
->
cfFormat
,
clipfmt
,
sizeof
(
clipfmt
)
-
1
);
ok
(
ret
,
"GetClipboardFormatName failed, error %d
\n
"
,
GetLastError
());
ok
(
!
lstrcmp
(
clipfmt
,
mime_type
),
"clipformat %x != mime_type,
\"
%s
\"
!=
\"
%s
\"\n
"
,
pformatetc
->
cfFormat
,
clipfmt
,
mime_type
);
}
else
{
...
...
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