mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:45:41 +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
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpOperation,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* First thing we need is the file's extension */
|
/* 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->Run in progman uses */
|
||||||
/* .\FILE.EXE :( */
|
/* .\FILE.EXE :( */
|
||||||
TRACE("xlpFile=%s,extension=%s\n", debugstr_w(xlpFile), debugstr_w(extension));
|
TRACE("xlpFile=%s,extension=%s\n", debugstr_w(xlpFile), debugstr_w(extension));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue