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:
parent
e6407c39ba
commit
46424c6196
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue