[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

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);