use strcmpiW() instead of _wcsicmp() for Wine-compatibility

svn path=/trunk/; revision=7908
This commit is contained in:
Martin Fuchs 2004-01-29 20:09:20 +00:00
parent dae39308ff
commit 33084f82f3

View file

@ -1035,7 +1035,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW psei, SHELL_ExecuteW32 execfu
/* resolve shell shortcuts */
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,
sei_tmp.hwnd, sei_tmp.lpVerb?sei_tmp.lpVerb:wszEmpty, &sei_tmp.nShow, (LPITEMIDLIST*)&sei_tmp.lpIDList);