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
62bb1eb2
Commit
62bb1eb2
authored
Dec 24, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Dec 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink/tests: Fix a test failure on Win9x/WinMe.
parent
9294882b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
browse_ctx.c
dlls/hlink/tests/browse_ctx.c
+11
-1
No files found.
dlls/hlink/tests/browse_ctx.c
View file @
62bb1eb2
...
...
@@ -24,6 +24,16 @@
#include "wine/test.h"
/* Win9x and WinMe don't have lstrcmpW */
static
int
strcmp_ww
(
const
WCHAR
*
str1
,
const
WCHAR
*
str2
)
{
DWORD
len1
=
lstrlenW
(
str1
);
DWORD
len2
=
lstrlenW
(
str2
);
if
(
len1
!=
len2
)
return
1
;
return
memcmp
(
str1
,
str2
,
len1
*
sizeof
(
WCHAR
));
}
static
void
test_SetInitialHlink
(
void
)
{
IHlinkBrowseContext
*
bc
;
...
...
@@ -55,7 +65,7 @@ static void test_SetInitialHlink(void)
hres
=
IMoniker_GetDisplayName
(
found_moniker
,
bindctx
,
NULL
,
&
found_name
);
ok
(
hres
==
S_OK
,
"GetDisplayName failed: 0x%08x
\n
"
,
hres
);
ok
(
lstrcmpW
(
found_name
,
friend
),
"Found display name should have been %s, was: %s
\n
"
,
wine_dbgstr_w
(
friend
),
wine_dbgstr_w
(
found_name
));
ok
(
strcmp_ww
(
found_name
,
friend
),
"Found display name should not have been %s
\n
"
,
wine_dbgstr_w
(
friend
));
IBindCtx_Release
(
bindctx
);
IMoniker_Release
(
found_moniker
);
...
...
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