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
9d441532
Commit
9d441532
authored
Dec 23, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix the system directory test for old WoW64 platforms.
parent
875f7260
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
shellpath.c
dlls/shell32/tests/shellpath.c
+5
-5
No files found.
dlls/shell32/tests/shellpath.c
View file @
9d441532
...
...
@@ -675,7 +675,7 @@ static void testWinDir(void)
*/
static
void
testSystemDir
(
void
)
{
char
systemShellPath
[
MAX_PATH
],
systemDir
[
MAX_PATH
]
=
{
0
}
;
char
systemShellPath
[
MAX_PATH
],
systemDir
[
MAX_PATH
]
,
systemDirx86
[
MAX_PATH
]
;
if
(
!
pSHGetSpecialFolderPathA
)
return
;
...
...
@@ -689,13 +689,13 @@ static void testSystemDir(void)
systemDir
,
systemShellPath
);
}
if
(
!
pGetSystemWow64DirectoryA
||
!
pGetSystemWow64DirectoryA
(
systemDir
,
sizeof
(
systemDir
)))
GetSystemDirectoryA
(
systemDir
,
sizeof
(
systemDir
));
myPathRemoveBackslashA
(
systemDir
);
if
(
!
pGetSystemWow64DirectoryA
||
!
pGetSystemWow64DirectoryA
(
systemDir
x86
,
sizeof
(
systemDirx86
)))
GetSystemDirectoryA
(
systemDir
x86
,
sizeof
(
systemDirx86
));
myPathRemoveBackslashA
(
systemDir
x86
);
if
(
pSHGetSpecialFolderPathA
(
NULL
,
systemShellPath
,
CSIDL_SYSTEMX86
,
FALSE
))
{
myPathRemoveBackslashA
(
systemShellPath
);
ok
(
!
lstrcmpiA
(
systemDir
,
systemShellPath
),
ok
(
!
lstrcmpiA
(
systemDir
x86
,
systemShellPath
)
||
broken
(
!
lstrcmpiA
(
systemDir
,
systemShellPath
)
),
"GetSystemDirectory returns %s SHGetSpecialFolderPath returns %s
\n
"
,
systemDir
,
systemShellPath
);
}
...
...
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