mirror of
https://github.com/reactos/reactos.git
synced 2025-05-22 10:35:54 +00:00
[SHELL32] Don't crash on an empty shortcut. CORE-12331 #resolve
svn path=/trunk/; revision=73245
This commit is contained in:
parent
81047f4a8b
commit
20421c1d49
1 changed files with 1 additions and 1 deletions
|
@ -1916,7 +1916,7 @@ HRESULT WINAPI CShellLink::InvokeCommand(LPCMINVOKECOMMANDINFO lpici)
|
|||
sei.lpVerb = L"open";
|
||||
|
||||
// HACK for ShellExecuteExW
|
||||
if (wcsstr(sPath, L".cpl"))
|
||||
if (sPath && wcsstr(sPath, L".cpl"))
|
||||
sei.lpVerb = L"cplopen";
|
||||
|
||||
if (ShellExecuteExW(&sei))
|
||||
|
|
Loading…
Reference in a new issue