Moved font settings to HKCU\Software\Wine\X11 Driver\Fonts.
diff --git a/dlls/x11drv/xfont.c b/dlls/x11drv/xfont.c
index 218a5a6..4328b8d 100644
--- a/dlls/x11drv/xfont.c
+++ b/dlls/x11drv/xfont.c
@@ -78,7 +78,7 @@
static fontAlias *aliasTable = NULL;
static const char* INIFontMetrics = "cachedmetrics.";
-static const char* INIFontSection = "Software\\Wine\\Wine\\Config\\fonts";
+static const char* INIFontSection = "Software\\Wine\\X11 Driver\\Fonts";
static const char* INIAliasSection = "Alias";
static const char* INIIgnoreSection = "Ignore";
static const char* INIDefault = "Default";
@@ -2904,8 +2904,8 @@
/* deal with systemwide font metrics cache */
buffer[0] = 0;
- /* @@ Wine registry key: HKLM\Software\Wine\Wine\Config\fonts */
- if (RegOpenKeyA(HKEY_LOCAL_MACHINE, INIFontSection, &hkey)) hkey = 0;
+ /* @@ Wine registry key: HKCU\Software\Wine\X11 Driver\Fonts */
+ if (RegOpenKeyA(HKEY_CURRENT_USER, INIFontSection, &hkey)) hkey = 0;
if (hkey)
{
DWORD type, count = buf_size;