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

This commit is contained in:
Alexandre Julliard 2005-07-06 15:47:48 +00:00
parent c7dcf642ea
commit 690115aab9
1 changed files with 2 additions and 2 deletions

View File

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