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
8a590e8d
Commit
8a590e8d
authored
Feb 17, 2008
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Feb 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Adjust a format specifier and remove a redundant range check in ILGetDisplayNameExW().
parent
989d2830
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
pidl.c
dlls/shell32/pidl.c
+2
-4
No files found.
dlls/shell32/pidl.c
View file @
8a590e8d
...
...
@@ -97,7 +97,7 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
STRRET
strret
;
DWORD
flag
;
TRACE
(
"%p %p %p %
d
\n
"
,
psf
,
pidl
,
path
,
type
);
TRACE
(
"%p %p %p %
x
\n
"
,
psf
,
pidl
,
path
,
type
);
if
(
!
pidl
||
!
path
)
return
FALSE
;
...
...
@@ -109,8 +109,6 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
return
FALSE
;
}
if
(
type
>=
0
&&
type
<=
2
)
{
switch
(
type
)
{
case
ILGDN_FORPARSING
:
...
...
@@ -127,6 +125,7 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
flag
=
SHGDN_FORPARSING
|
SHGDN_FORADDRESSBAR
;
break
;
}
if
(
!*
(
const
WORD
*
)
pidl
||
type
==
ILGDN_FORPARSING
)
{
ret
=
IShellFolder_GetDisplayNameOf
(
lsf
,
pidl
,
flag
,
&
strret
);
...
...
@@ -150,7 +149,6 @@ BOOL WINAPI ILGetDisplayNameExW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, LPWSTR pa
IShellFolder_Release
(
psfParent
);
}
}
}
TRACE
(
"%p %p %s
\n
"
,
psf
,
pidl
,
debugstr_w
(
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