Commit 690115aa authored by Alexandre Julliard's avatar Alexandre Julliard

Moved the configuration key to HKCU\Software\Wine\WineMenuBuilder.

parent c7dcf642
......@@ -445,8 +445,8 @@ static char *extract_icon( LPCWSTR path, int index)
/* Where should we save the icon? */
WINE_TRACE("path=[%s] index=%d\n", wine_dbgstr_w(path), index);
iconsdir=NULL; /* Default is no icon */
/* @@ Wine registry key: HKLM\Software\Wine\Wine\Config\Wine */
if (!RegOpenKeyA( HKEY_LOCAL_MACHINE, "Software\\Wine\\Wine\\Config\\Wine", &hkey ))
/* @@ Wine registry key: HKCU\Software\Wine\WineMenuBuilder */
if (!RegOpenKeyA( HKEY_CURRENT_USER, "Software\\Wine\\WineMenuBuilder", &hkey ))
{
static const WCHAR IconsDirW[] = {'I','c','o','n','s','D','i','r',0};
LPWSTR iconsdirW;
......
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