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>
(cherry picked from commit 46424c6196)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Hans Leidekker 2021-03-16 09:47:28 +01:00 committed by Michael Stefaniuc
parent 81f705ee5b
commit 60fcda90f4
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;
lstrcpyW(filename, path);
lstrcpyW(filename, L"\\");
lstrcatW(filename, L"\\");
lstrcatW(filename, L"fusion.dll");
if (GetFileAttributesW(filename) != INVALID_FILE_ATTRIBUTES)
{