mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Fix execution in ShellExecute for files which have multiple dots
svn path=/trunk/; revision=37295
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user