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
4133ed17
Commit
4133ed17
authored
Aug 20, 2004
by
Aric Stewart
Committed by
Alexandre Julliard
Aug 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In IPersistFile_Save if the exe file is not found, trust the path we
are given and allow creation of the link.
parent
941ed629
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
shelllink.c
dlls/shell32/shelllink.c
+8
-3
No files found.
dlls/shell32/shelllink.c
View file @
4133ed17
...
...
@@ -683,10 +683,15 @@ static HRESULT WINAPI IPersistStream_fnSave(
/* if there's no PIDL, generate one */
if
(
!
This
->
pPidl
)
{
/*
* windows can create lnk files to executables that do not exist yet
* so if the executable does not exist the just trust the path they
* gave us
*/
if
(
!*
exePath
)
return
E_FAIL
;
This
->
pPidl
=
ILCreateFromPathW
(
exePath
);
This
->
pPidl
=
ILCreateFromPathW
(
This
->
sPath
)
;
else
This
->
pPidl
=
ILCreateFromPathW
(
exePath
);
}
memset
(
&
header
,
0
,
sizeof
(
header
));
...
...
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