[BROWSEUI] Add backslash for directory (#1121)

CORE-15434
This commit is contained in:
Katayama Hirofumi MZ 2018-12-13 20:04:02 +09:00 committed by GitHub
parent 63a0ac0461
commit c64d31e9b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -382,6 +382,9 @@ SHExplorerParseCmdLine(ExplorerCommandLineParseResults * pInfo)
{
// Or just a plain old string.
if (PathIsDirectoryW(strField))
PathAddBackslash(strField);
WCHAR szPath[MAX_PATH];
DWORD result = GetFullPathNameW(strField, _countof(szPath), szPath, NULL);