[SHELL32]

Remove trailing backslash in shellink working dir
Patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)

See issue #7000 for more details.

svn path=/trunk/; revision=56344
This commit is contained in:
Timo Kreuzer 2012-04-14 10:40:21 +00:00
parent b4d5aaed08
commit c001d46f1c

View file

@ -583,6 +583,7 @@ HRESULT WINAPI CShellLink::Load(IStream *stm)
if (hdr.dwFlags & SLDF_HAS_WORKINGDIR)
{
hr = Stream_LoadString(stm, unicode, &sWorkDir);
PathRemoveBackslash(sWorkDir);
TRACE("Working Dir -> %s\n", debugstr_w(sWorkDir));
}
if (FAILED(hr))