[WINESYNC] 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>

wine commit id 46424c6196a7b544ff6173d544fc120cc9f804d9 by Hans Leidekker <hans@codeweavers.com>
This commit is contained in:
winesync 2022-03-13 21:43:44 +01:00 committed by Mark Jansen
parent 1c1431b92f
commit a3e22d8922
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -541,7 +541,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)
{