Don't prepend '\\' to the subkey name.
This commit is contained in:
parent
50a0c8f734
commit
5be005b0d5
|
@ -116,7 +116,7 @@ BOOL HCR_MapTypeToValueA(LPCSTR szExtension, LPSTR szFileType, DWORD len, BOOL b
|
||||||
|
|
||||||
BOOL HCR_GetExecuteCommandW( HKEY hkeyClass, LPCWSTR szClass, LPCWSTR szVerb, LPWSTR szDest, DWORD len )
|
BOOL HCR_GetExecuteCommandW( HKEY hkeyClass, LPCWSTR szClass, LPCWSTR szVerb, LPWSTR szDest, DWORD len )
|
||||||
{
|
{
|
||||||
static const WCHAR swShell[] = {'\\','s','h','e','l','l','\\',0};
|
static const WCHAR swShell[] = {'s','h','e','l','l','\\',0};
|
||||||
static const WCHAR swCommand[] = {'\\','c','o','m','m','a','n','d',0};
|
static const WCHAR swCommand[] = {'\\','c','o','m','m','a','n','d',0};
|
||||||
BOOL ret = FALSE;
|
BOOL ret = FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue