Don't prepend '\\' to the subkey name.

This commit is contained in:
Huw Davies 2005-03-03 13:52:06 +00:00 committed by Alexandre Julliard
parent 50a0c8f734
commit 5be005b0d5
1 changed files with 1 additions and 1 deletions

View File

@ -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;