Commit 2b6573ac authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

winemenubuilder: Fix copy and paste error.

parent bb82d669
......@@ -1423,11 +1423,11 @@ end:
static HKEY open_menus_reg_key(void)
{
static const WCHAR Software_Wine_FileOpenAssociationsW[] = {
static const WCHAR Software_Wine_FileOpenMenuFilesW[] = {
'S','o','f','t','w','a','r','e','\\','W','i','n','e','\\','M','e','n','u','F','i','l','e','s',0};
HKEY assocKey;
DWORD ret;
ret = RegCreateKeyW(HKEY_CURRENT_USER, Software_Wine_FileOpenAssociationsW, &assocKey);
ret = RegCreateKeyW(HKEY_CURRENT_USER, Software_Wine_FileOpenMenuFilesW, &assocKey);
if (ret == ERROR_SUCCESS)
return assocKey;
SetLastError(ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment