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
e80b028d
Commit
e80b028d
authored
Apr 21, 2002
by
Bill Medland
Committed by
Alexandre Julliard
Apr 21, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The extension should not be removed from the display of folder names.
parent
ca18f158
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
shlfolder.c
dlls/shell32/shlfolder.c
+4
-3
No files found.
dlls/shell32/shlfolder.c
View file @
e80b028d
...
@@ -1148,15 +1148,16 @@ static HRESULT WINAPI IShellFolder_fnGetDisplayNameOf(
...
@@ -1148,15 +1148,16 @@ static HRESULT WINAPI IShellFolder_fnGetDisplayNameOf(
_ILSimpleGetText
(
pidl
,
szPath
+
len
,
MAX_PATH
-
len
);
/* append my own path */
_ILSimpleGetText
(
pidl
,
szPath
+
len
,
MAX_PATH
-
len
);
/* append my own path */
/* MSDN also mentions SHGDN_FOREDITING, which isn't defined in wine */
/* MSDN also mentions SHGDN_FOREDITING, which isn't defined in wine */
if
(
!
(
dwFlags
&
SHGDN_FORPARSING
)
&&
if
(
!
_ILIsFolder
(
pidl
)
&&
!
(
dwFlags
&
SHGDN_FORPARSING
)
&&
((
dwFlags
&
SHGDN_INFOLDER
)
||
(
dwFlags
==
SHGDN_NORMAL
)))
((
dwFlags
&
SHGDN_INFOLDER
)
||
(
dwFlags
==
SHGDN_NORMAL
)))
{
{
HKEY
hKey
;
HKEY
hKey
;
DWORD
dwData
;
DWORD
dwData
;
DWORD
dwDataSize
=
sizeof
(
DWORD
);
DWORD
dwDataSize
=
sizeof
(
DWORD
);
BOOL
doHide
=
TRUE
;
/* assume the default value is TRUE
*/
BOOL
doHide
=
0
;
/* The default value is FALSE (win98 at least)
*/
/* XXX should it do this only for known file types? -- that would make it even slower! */
/* XXX should it do this only for known file types? -- that would make it even slower! */
/* XXX That's what the prompt says!! */
if
(
!
RegCreateKeyExA
(
HKEY_CURRENT_USER
,
if
(
!
RegCreateKeyExA
(
HKEY_CURRENT_USER
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Explorer
\\
Advanced"
,
"Software
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Explorer
\\
Advanced"
,
0
,
0
,
0
,
KEY_ALL_ACCESS
,
0
,
&
hKey
,
0
))
0
,
0
,
0
,
KEY_ALL_ACCESS
,
0
,
&
hKey
,
0
))
...
@@ -2416,7 +2417,7 @@ static HRESULT WINAPI ISF_MyComputer_fnGetDisplayNameOf(
...
@@ -2416,7 +2417,7 @@ static HRESULT WINAPI ISF_MyComputer_fnGetDisplayNameOf(
{
{
DWORD
dwVolumeSerialNumber
,
dwMaximumComponetLength
,
dwFileSystemFlags
;
DWORD
dwVolumeSerialNumber
,
dwMaximumComponetLength
,
dwFileSystemFlags
;
GetVolumeInformationA
(
szPath
,
szDrive
,
12
,
&
dwVolumeSerialNumber
,
&
dwMaximumComponetLength
,
&
dwFileSystemFlags
,
NULL
,
0
);
GetVolumeInformationA
(
szPath
,
szDrive
,
sizeof
(
szDrive
)
-
6
,
&
dwVolumeSerialNumber
,
&
dwMaximumComponetLength
,
&
dwFileSystemFlags
,
NULL
,
0
);
strcat
(
szDrive
,
" ("
);
strcat
(
szDrive
,
" ("
);
strncat
(
szDrive
,
szPath
,
2
);
strncat
(
szDrive
,
szPath
,
2
);
strcat
(
szDrive
,
")"
);
strcat
(
szDrive
,
")"
);
...
...
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