mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
shell32: Use MAX_PATH for a DOS path.
This commit is contained in:
parent
20070d0838
commit
3a9cfa544a
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ static inline BOOL UNIXFS_is_pidl_of_type(LPCITEMIDLIST pIDL, SHCONTF fFilter) {
|
|||
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];
|
||||
WCHAR wszDrive[] = { '?', ':', '\\', 0 }, dospath[PATH_MAX], *dospath_end;
|
||||
WCHAR wszDrive[] = { '?', ':', '\\', 0 }, dospath[MAX_PATH], *dospath_end;
|
||||
int cDriveSymlinkLen;
|
||||
void *redir;
|
||||
|
||||
|
|
Loading…
Reference in a new issue