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
1da30597
Commit
1da30597
authored
Nov 25, 2009
by
Paul Vriens
Committed by
Alexandre Julliard
Nov 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix some test failures on Windows 7.
parent
489b73dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
shlfolder.c
dlls/shell32/tests/shlfolder.c
+4
-2
No files found.
dlls/shell32/tests/shlfolder.c
View file @
1da30597
...
...
@@ -472,7 +472,8 @@ static void test_GetDisplayName(void)
/* WinXP and up store the filenames as both ANSI and UNICODE in the pidls */
if
(
pidlLast
->
mkid
.
cb
>=
76
)
{
ok
(
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
46
],
wszFileName
)
||
(
pidlLast
->
mkid
.
cb
>=
94
&&
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
64
],
wszFileName
)),
/* Vista */
(
pidlLast
->
mkid
.
cb
>=
94
&&
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
64
],
wszFileName
))
||
/* Vista */
(
pidlLast
->
mkid
.
cb
>=
98
&&
!
lstrcmpW
((
WCHAR
*
)
&
pidlLast
->
mkid
.
abID
[
68
],
wszFileName
)),
/* Win7 */
"Filename should be stored as wchar-string at this position!
\n
"
);
}
...
...
@@ -1529,7 +1530,8 @@ static void test_ITEMIDLIST_format(void) {
"Last write time should match last access time!
\n
"
);
ok
(
!
lstrcmpW
(
wszFile
[
i
],
pFileStructW
->
wszName
)
||
!
lstrcmpW
(
wszFile
[
i
],
(
WCHAR
*
)(
pFileStructW
->
abFooBar2
+
22
)),
/* Vista */
!
lstrcmpW
(
wszFile
[
i
],
(
WCHAR
*
)(
pFileStructW
->
abFooBar2
+
22
))
||
/* Vista */
!
lstrcmpW
(
wszFile
[
i
],
(
WCHAR
*
)(
pFileStructW
->
abFooBar2
+
26
)),
/* Win7 */
"The filename should be stored in unicode at this position!
\n
"
);
}
}
...
...
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