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
7c25ab8a
Commit
7c25ab8a
authored
May 06, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Set the correct default for shell folders relative to the windows directory.
parent
c4d75213
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
shellpath.c
dlls/shell32/shellpath.c
+8
-0
No files found.
dlls/shell32/shellpath.c
View file @
7c25ab8a
...
...
@@ -1925,7 +1925,15 @@ static HRESULT _SHRegisterFolders(HKEY hRootKey, HANDLE hToken,
else
if
(
CSIDL_Data
[
folders
[
i
]].
type
==
CSIDL_Type_AllUsers
)
_SHGetAllUsersProfilePath
(
SHGFP_TYPE_DEFAULT
,
folders
[
i
],
path
);
else
if
(
CSIDL_Data
[
folders
[
i
]].
type
==
CSIDL_Type_WindowsPath
)
{
GetWindowsDirectoryW
(
path
,
MAX_PATH
);
if
(
CSIDL_Data
[
folders
[
i
]].
szDefaultPath
&&
!
IS_INTRESOURCE
(
CSIDL_Data
[
folders
[
i
]].
szDefaultPath
))
{
PathAddBackslashW
(
path
);
strcatW
(
path
,
CSIDL_Data
[
folders
[
i
]].
szDefaultPath
);
}
}
else
hr
=
E_FAIL
;
if
(
*
path
)
...
...
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