mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 23:14:53 +00:00
[SHELL32]
- Fix some typos from r54845. Fixes crash in shell32:shlexec test. svn path=/trunk/; revision=56572
This commit is contained in:
parent
7a4d47a61f
commit
dadcc449dd
|
@ -819,7 +819,7 @@ static UINT SHELL_FindExecutable(LPCWSTR lpPath, LPCWSTR lpFile, LPCWSTR lpOpera
|
||||||
{
|
{
|
||||||
/* Toss the leading dot */
|
/* Toss the leading dot */
|
||||||
extension++;
|
extension++;
|
||||||
if (GetProfileStringW(L"extesions", extension, L"", command, sizeof(command) / sizeof(WCHAR)) > 0)
|
if (GetProfileStringW(L"extensions", extension, L"", command, sizeof(command) / sizeof(WCHAR)) > 0)
|
||||||
{
|
{
|
||||||
if (wcslen(command) != 0)
|
if (wcslen(command) != 0)
|
||||||
{
|
{
|
||||||
|
@ -887,7 +887,7 @@ static unsigned dde_connect(const WCHAR* key, const WCHAR* start, WCHAR* ddeexec
|
||||||
BOOL unicode = !(GetVersion() & 0x80000000);
|
BOOL unicode = !(GetVersion() & 0x80000000);
|
||||||
|
|
||||||
wcscpy(regkey, key);
|
wcscpy(regkey, key);
|
||||||
wcscpy(endkey, L"application");
|
wcscpy(endkey, L"\\application");
|
||||||
applen = sizeof(app);
|
applen = sizeof(app);
|
||||||
if (RegQueryValueW(HKEY_CLASSES_ROOT, regkey, app, &applen) != ERROR_SUCCESS)
|
if (RegQueryValueW(HKEY_CLASSES_ROOT, regkey, app, &applen) != ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue