mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:52:57 +00:00
use strcmpiW() instead of _wcsicmp() for Wine-compatibility
svn path=/trunk/; revision=7908
This commit is contained in:
parent
dae39308ff
commit
33084f82f3
1 changed files with 1 additions and 1 deletions
|
@ -1035,7 +1035,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW psei, SHELL_ExecuteW32 execfu
|
||||||
/* resolve shell shortcuts */
|
/* resolve shell shortcuts */
|
||||||
ext = PathFindExtensionW(sei_tmp.lpFile);
|
ext = PathFindExtensionW(sei_tmp.lpFile);
|
||||||
|
|
||||||
if (ext && !_wcsicmp(ext, wExtLnk)) /* or check for: shell_attribs & SFGAO_LINK */
|
if (ext && !strcmpiW(ext, wExtLnk)) /* or check for: shell_attribs & SFGAO_LINK */
|
||||||
{
|
{
|
||||||
HRESULT hr = SHELL_ResolveShortCutW((LPWSTR)sei_tmp.lpFile, (LPWSTR)sei_tmp.lpParameters, (LPWSTR)sei_tmp.lpDirectory,
|
HRESULT hr = SHELL_ResolveShortCutW((LPWSTR)sei_tmp.lpFile, (LPWSTR)sei_tmp.lpParameters, (LPWSTR)sei_tmp.lpDirectory,
|
||||||
sei_tmp.hwnd, sei_tmp.lpVerb?sei_tmp.lpVerb:wszEmpty, &sei_tmp.nShow, (LPITEMIDLIST*)&sei_tmp.lpIDList);
|
sei_tmp.hwnd, sei_tmp.lpVerb?sei_tmp.lpVerb:wszEmpty, &sei_tmp.nShow, (LPITEMIDLIST*)&sei_tmp.lpIDList);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue