msi: Fix building the fusion filename.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50809
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hans Leidekker 2021-03-16 09:47:28 +01:00 committed by Alexandre Julliard
parent e6407c39ba
commit 46424c6196
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ static LPWSTR get_fusion_filename(MSIPACKAGE *package)
if (!(filename = msi_alloc(len * sizeof(WCHAR)))) return NULL; if (!(filename = msi_alloc(len * sizeof(WCHAR)))) return NULL;
lstrcpyW(filename, path); lstrcpyW(filename, path);
lstrcpyW(filename, L"\\"); lstrcatW(filename, L"\\");
lstrcatW(filename, L"fusion.dll"); lstrcatW(filename, L"fusion.dll");
if (GetFileAttributesW(filename) != INVALID_FILE_ATTRIBUTES) if (GetFileAttributesW(filename) != INVALID_FILE_ATTRIBUTES)
{ {