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

Aric Stewart aric at codeweavers.com
Wed Apr 11 02:10:32 CDT 2007


---
  dlls/msi/font.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
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(MSIREC
 
     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-patches mailing list