Huw Davies : gdi32: TrueType fonts from the data directory should be added to the registry.

Alexandre Julliard julliard at winehq.org
Wed Oct 3 06:08:15 CDT 2007


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Oct  2 14:30:04 2007 +0100

gdi32: TrueType fonts from the data directory should be added to the registry.

---

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

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index f3c76da..1db51ca 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -2112,7 +2112,7 @@ BOOL WineEngInit(void)
     if (data_dir && (unixname = HeapAlloc(GetProcessHeap(), 0, strlen(data_dir) + sizeof("/fonts/")))) {
         strcpy(unixname, data_dir);
         strcat(unixname, "/fonts/");
-        ReadFontDir(unixname, FALSE);
+        ReadFontDir(unixname, TRUE);
         HeapFree(GetProcessHeap(), 0, unixname);
     }
 




More information about the wine-cvs mailing list