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
ba2f448d
Commit
ba2f448d
authored
Oct 01, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use BOOL type where appropriate.
parent
30aec559
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
shfldr_unixfs.c
dlls/shell32/shfldr_unixfs.c
+3
-2
No files found.
dlls/shell32/shfldr_unixfs.c
View file @
ba2f448d
...
@@ -392,7 +392,8 @@ static inline BOOL UNIXFS_is_pidl_of_type(LPCITEMIDLIST pIDL, SHCONTF fFilter) {
...
@@ -392,7 +392,8 @@ static inline BOOL UNIXFS_is_pidl_of_type(LPCITEMIDLIST pIDL, SHCONTF fFilter) {
*/
*/
static
BOOL
UNIXFS_get_unix_path
(
LPCWSTR
pszDosPath
,
char
*
pszCanonicalPath
)
static
BOOL
UNIXFS_get_unix_path
(
LPCWSTR
pszDosPath
,
char
*
pszCanonicalPath
)
{
{
char
*
pPathTail
,
*
pElement
,
*
pCanonicalTail
,
szPath
[
FILENAME_MAX
],
*
pszUnixPath
,
has_failed
=
0
,
mb_path
[
FILENAME_MAX
];
char
*
pPathTail
,
*
pElement
,
*
pCanonicalTail
,
szPath
[
FILENAME_MAX
],
*
pszUnixPath
,
mb_path
[
FILENAME_MAX
];
BOOL
has_failed
=
FALSE
;
WCHAR
wszDrive
[]
=
{
'?'
,
':'
,
'\\'
,
0
},
dospath
[
MAX_PATH
],
*
dospath_end
;
WCHAR
wszDrive
[]
=
{
'?'
,
':'
,
'\\'
,
0
},
dospath
[
MAX_PATH
],
*
dospath_end
;
int
cDriveSymlinkLen
;
int
cDriveSymlinkLen
;
void
*
redir
;
void
*
redir
;
...
@@ -423,7 +424,7 @@ static BOOL UNIXFS_get_unix_path(LPCWSTR pszDosPath, char *pszCanonicalPath)
...
@@ -423,7 +424,7 @@ static BOOL UNIXFS_get_unix_path(LPCWSTR pszDosPath, char *pszCanonicalPath)
*
dospath_end
=
'/'
;
*
dospath_end
=
'/'
;
--
dospath_end
;
--
dospath_end
;
}
else
}
else
has_failed
=
1
;
has_failed
=
TRUE
;
while
(
*
dospath_end
!=
'\\'
&&
*
dospath_end
!=
'/'
){
while
(
*
dospath_end
!=
'\\'
&&
*
dospath_end
!=
'/'
){
--
dospath_end
;
--
dospath_end
;
if
(
dospath_end
<
dospath
)
if
(
dospath_end
<
dospath
)
...
...
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