Aric Stewart : msi: Register fonts with full target paths as applications can and will install fonts to places other than the windows /fonts directory.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Apr 11 06:42:10 CDT 2007


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

Author: Aric Stewart <aric at codeweavers.com>
Date:   Wed Apr 11 16:10:32 2007 +0900

msi: Register fonts with full target paths as applications can and will install fonts to places other than the windows/fonts directory.

---

 dlls/msi/font.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/font.c b/dlls/msi/font.c
index 2b08a0f..b0c43f3 100644
--- a/dlls/msi/font.c
+++ b/dlls/msi/font.c
@@ -216,8 +216,8 @@ static UINT ITERATE_RegisterFonts(MSIRECORD *row, LPVOID param)
 
     if (name)
     {
-        msi_reg_set_val_str( hkey1, name, file->FileName );
-        msi_reg_set_val_str( hkey2, name, file->FileName );
+        msi_reg_set_val_str( hkey1, name, file->TargetPath);
+        msi_reg_set_val_str( hkey2, name, file->TargetPath);
     }
 
     msi_free(name);




More information about the wine-cvs mailing list