Huw Davies : gdi32: Use the correct name when writing the fixed font registry value.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 24 13:15:11 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 5b27ce231364b72b6b170d90a32222466a2a2dd1
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=5b27ce231364b72b6b170d90a32222466a2a2dd1

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Jul 24 14:08:45 2006 +0100

gdi32: Use the correct name when writing the fixed font registry value.

---

 dlls/gdi/freetype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/gdi/freetype.c b/dlls/gdi/freetype.c
index 2a6024c..f82112f 100644
--- a/dlls/gdi/freetype.c
+++ b/dlls/gdi/freetype.c
@@ -1569,7 +1569,7 @@ static void update_font_info(void)
 
             hkey = create_config_fonts_registry_key();
             RegSetValueExA(hkey, "OEMFONT.FON", 0, REG_SZ, (const BYTE *)nls_update_font_list[i].oem, strlen(nls_update_font_list[i].oem)+1);
-            RegSetValueExA(hkey, "FIXED.FON", 0, REG_SZ, (const BYTE *)nls_update_font_list[i].fixed, strlen(nls_update_font_list[i].fixed)+1);
+            RegSetValueExA(hkey, "FIXEDFON.FON", 0, REG_SZ, (const BYTE *)nls_update_font_list[i].fixed, strlen(nls_update_font_list[i].fixed)+1);
             RegSetValueExA(hkey, "FONTS.FON", 0, REG_SZ, (const BYTE *)nls_update_font_list[i].system, strlen(nls_update_font_list[i].system)+1);
             RegCloseKey(hkey);
 




More information about the wine-cvs mailing list