mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 13:00:24 +00:00
- Fix execution in ShellExecute for files which have multiple dots
svn path=/trunk/; revision=37295
This commit is contained in:
parent
ec4c2d1df2
commit
977ba0d1f6
|
@ -566,7 +566,7 @@ UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpOperation,
|
|||
else
|
||||
{
|
||||
/* First thing we need is the file's extension */
|
||||
extension = wcschr(xlpFile, '.'); /* Assume last "." is the one; */
|
||||
extension = wcsrchr(xlpFile, '.'); /* Assume last "." is the one; */
|
||||
/* File->Run in progman uses */
|
||||
/* .\FILE.EXE :( */
|
||||
TRACE("xlpFile=%s,extension=%s\n", debugstr_w(xlpFile), debugstr_w(extension));
|
||||
|
|
Loading…
Reference in a new issue