Aric Stewart : msi: Register fonts with full target paths as applications can and will install fonts to places other than the windows /fonts directory.
Module: wine Branch: master Commit: d54900b8bc856e0fbe2d0ef99b1433de0c0112dc URL: http://source.winehq.org/git/wine.git/?a=commit;h=d54900b8bc856e0fbe2d0ef99b... Author: Aric Stewart <aric(a)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);
participants (1)
-
Alexandre Julliard