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
a796bcaa
Commit
a796bcaa
authored
Sep 25, 2017
by
Vincent Povirk
Committed by
Alexandre Julliard
Sep 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Support SFGAO_LINK in unix shell namespace.
Signed-off-by:
Vincent Povirk
<
vincent@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
709db66f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
shfldr_unixfs.c
dlls/shell32/shfldr_unixfs.c
+8
-1
No files found.
dlls/shell32/shfldr_unixfs.c
View file @
a796bcaa
...
...
@@ -1140,7 +1140,7 @@ static HRESULT WINAPI ShellFolder2_GetAttributesOf(IShellFolder2* iface, UINT ci
UINT
i
;
*
attrs
=
SFGAO_CANCOPY
|
SFGAO_CANMOVE
|
SFGAO_CANLINK
|
SFGAO_CANRENAME
|
SFGAO_CANDELETE
|
SFGAO_HASPROPSHEET
|
SFGAO_DROPTARGET
|
SFGAO_FILESYSTEM
;
SFGAO_HASPROPSHEET
|
SFGAO_DROPTARGET
|
SFGAO_FILESYSTEM
|
SFGAO_LINK
;
lstrcpyA
(
szAbsolutePath
,
This
->
m_pszPath
);
pszRelativePath
=
szAbsolutePath
+
lstrlenA
(
szAbsolutePath
);
for
(
i
=
0
;
i
<
cidl
;
i
++
)
{
...
...
@@ -1158,6 +1158,13 @@ static HRESULT WINAPI ShellFolder2_GetAttributesOf(IShellFolder2* iface, UINT ci
SFGAO_STORAGEANCESTOR
|
SFGAO_STORAGE
;
else
*
attrs
|=
SFGAO_STREAM
;
if
((
*
attrs
&
SFGAO_LINK
))
{
char
ext
[
MAX_PATH
];
if
(
!
_ILGetExtension
(
apidl
[
i
],
ext
,
MAX_PATH
)
||
lstrcmpiA
(
ext
,
"lnk"
))
*
attrs
&=
~
SFGAO_LINK
;
}
}
}
...
...
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