Hans Leidekker : msi: Fix building the fusion filename.

Alexandre Julliard julliard at winehq.org
Tue Oct 26 09:40:26 CDT 2021


Module: wine
Branch: stable
Commit: 60fcda90f4bee8c15fb30207ea104c06f7caaabd
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=60fcda90f4bee8c15fb30207ea104c06f7caaabd

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>
(cherry picked from commit 46424c6196a7b544ff6173d544fc120cc9f804d9)
Signed-off-by: Michael Stefaniuc <mstefani 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 2483d99e2b5..c56afbc6d51 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