[advpack] Fix typo's

Paul Vriens paul.vriens.wine at gmail.com
Tue Oct 31 08:17:31 CST 2006


Hi,

most likely lstrcat was intended. I haven't checked why this lead to errors on
Windows and not on Wine.

Changelog
  Fix typo's

Cheers,

Paul.
---
 dlls/advpack/tests/install.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/advpack/tests/install.c b/dlls/advpack/tests/install.c
index b594a1e..f589a0d 100644
--- a/dlls/advpack/tests/install.c
+++ b/dlls/advpack/tests/install.c
@@ -235,8 +235,8 @@ static void test_LaunchINFSectionEx()
 
     /* try an invalid CAB filename */
     lstrcpy(cmdline, CURR_DIR);
-    lstrcpy(cmdline, "\\");
-    lstrcpy(cmdline, "test.inf,DefaultInstall,c:imacab.cab,4");
+    lstrcat(cmdline, "\\");
+    lstrcat(cmdline, "test.inf,DefaultInstall,c:imacab.cab,4");
     hr = pLaunchINFSectionEx(NULL, NULL, cmdline, 0);
     ok(hr == 0, "Expected 0, got %d\n", hr);
 
-- 
1.4.3.3




More information about the wine-patches mailing list