Hans Leidekker : msi: Fix building the fusion filename.
Alexandre Julliard
julliard at winehq.org
Tue Mar 16 16:39:03 CDT 2021
Module: wine
Branch: master
Commit: 46424c6196a7b544ff6173d544fc120cc9f804d9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=46424c6196a7b544ff6173d544fc120cc9f804d9
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Mar 16 09:47:28 2021 +0100
msi: Fix building the fusion filename.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50809
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msi/package.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index 05f122fb545..bf93f3e9afe 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -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)
{
More information about the wine-cvs
mailing list