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
a7d80730
Commit
a7d80730
authored
Oct 29, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Constify some variables.
parent
2f09f506
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
shfldr_unixfs.c
dlls/shell32/shfldr_unixfs.c
+4
-4
No files found.
dlls/shell32/shfldr_unixfs.c
View file @
a7d80730
...
...
@@ -356,8 +356,8 @@ cleanup:
* TRUE, if pIDL is accepted by fFilter
* FALSE, otherwise
*/
static
inline
BOOL
UNIXFS_is_pidl_of_type
(
LPITEMIDLIST
pIDL
,
SHCONTF
fFilter
)
{
LPPIDLDATA
pIDLData
=
_ILGetDataPointer
(
pIDL
);
static
inline
BOOL
UNIXFS_is_pidl_of_type
(
LP
C
ITEMIDLIST
pIDL
,
SHCONTF
fFilter
)
{
const
PIDLDATA
*
pIDLData
=
_ILGetDataPointer
(
pIDL
);
if
(
!
(
fFilter
&
SHCONTF_INCLUDEHIDDEN
)
&&
pIDLData
&&
(
pIDLData
->
u
.
file
.
uFileAttribs
&
FILE_ATTRIBUTE_HIDDEN
))
{
...
...
@@ -1738,7 +1738,7 @@ static HRESULT WINAPI UnixFolder_ISFHelper_AddFolder(ISFHelper* iface, HWND hwnd
* be converted, S_FALSE is returned. In such situation DeleteItems will try to delete
* the files using syscalls
*/
static
HRESULT
UNIXFS_delete_with_shfileop
(
UnixFolder
*
This
,
UINT
cidl
,
LPCITEMIDLIST
*
apidl
)
static
HRESULT
UNIXFS_delete_with_shfileop
(
UnixFolder
*
This
,
UINT
cidl
,
const
LPCITEMIDLIST
*
apidl
)
{
char
szAbsolute
[
FILENAME_MAX
],
*
pszRelative
;
LPWSTR
wszPathsList
,
wszListPos
;
...
...
@@ -1792,7 +1792,7 @@ static HRESULT UNIXFS_delete_with_shfileop(UnixFolder *This, UINT cidl, LPCITEMI
return
ret
;
}
static
HRESULT
UNIXFS_delete_with_syscalls
(
UnixFolder
*
This
,
UINT
cidl
,
LPCITEMIDLIST
*
apidl
)
static
HRESULT
UNIXFS_delete_with_syscalls
(
UnixFolder
*
This
,
UINT
cidl
,
const
LPCITEMIDLIST
*
apidl
)
{
char
szAbsolute
[
FILENAME_MAX
],
*
pszRelative
;
static
const
WCHAR
empty
[]
=
{
0
};
...
...
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