Author: tkreuzer Date: Sat Apr 14 10:40:21 2012 New Revision: 56344
URL: http://svn.reactos.org/svn/reactos?rev=56344&view=rev Log: [SHELL32] Remove trailing backslash in shellink working dir Patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)
See issue #7000 for more details.
Modified: trunk/reactos/dll/win32/shell32/shelllink.cpp
Modified: trunk/reactos/dll/win32/shell32/shelllink.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelllink... ============================================================================== --- trunk/reactos/dll/win32/shell32/shelllink.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/shelllink.cpp [iso-8859-1] Sat Apr 14 10:40:21 2012 @@ -583,6 +583,7 @@ 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))