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
da0604be
Commit
da0604be
authored
Aug 03, 2008
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Aug 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Fix shelllink test on win9x (GetTempPathW).
parent
139c2146
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
shelllink.c
dlls/shell32/tests/shelllink.c
+1
-4
No files found.
dlls/shell32/tests/shelllink.c
View file @
da0604be
...
...
@@ -497,8 +497,6 @@ static void check_lnk_(int line, const WCHAR* path, lnk_desc_t* desc, int todo)
static
void
test_load_save
(
void
)
{
WCHAR
lnkfile
[
MAX_PATH
];
static
const
WCHAR
lnkfile_name
[]
=
{
'\\'
,
't'
,
'e'
,
's'
,
't'
,
'.'
,
'l'
,
'n'
,
'k'
,
'\0'
};
char
lnkfileA
[
MAX_PATH
];
static
const
char
lnkfileA_name
[]
=
"
\\
test.lnk"
;
...
...
@@ -517,10 +515,9 @@ static void test_load_save(void)
}
/* Don't used a fixed path for the test.lnk file */
GetTempPathW
(
MAX_PATH
,
lnkfile
);
lstrcatW
(
lnkfile
,
lnkfile_name
);
GetTempPathA
(
MAX_PATH
,
lnkfileA
);
lstrcatA
(
lnkfileA
,
lnkfileA_name
);
MultiByteToWideChar
(
CP_ACP
,
0
,
lnkfileA
,
-
1
,
lnkfile
,
MAX_PATH
);
/* Save an empty .lnk file */
memset
(
&
desc
,
0
,
sizeof
(
desc
));
...
...
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